now distcheck should work...

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3940 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Lars Gullik Bjønnes 2002-04-08 00:07:07 +00:00
parent 78e2cd8932
commit 53953235d8

View File

@ -52,6 +52,7 @@ libinstalldirs:
install-xfonts:
test -f xfonts/fonts.dir || exit 0 ; \
$(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/xfonts ; \
files=`sed -e 's/^[0-9]*$$//' -e 's/^\([^ ]*\) .*$$/\1/' xfonts/fonts.dir` ; \
for i in $${files} ; do \
ln -sf `kpsewhich $$i` $(DESTDIR)$(pkgdatadir)/xfonts/$$i ; \
@ -59,6 +60,9 @@ install-xfonts:
$(INSTALL_DATA) xfonts/fonts.dir $(DESTDIR)$(pkgdatadir)/xfonts/fonts.dir ; \
$(INSTALL_DATA) xfonts/fonts.scale $(DESTDIR)$(pkgdatadir)/xfonts/fonts.scale
uninstall-xfonts:
rm -rf $(DESTDIR)$(pkgdatadir)/xfonts
install-data-local: libinstalldirs install-xfonts
files=`cd $(srcdir) ; echo $(LIBINSTFILES)` ; \
for i in $${files} ; do \
@ -71,15 +75,15 @@ install-exec-local: libinstalldirs
$(INSTALL_SCRIPT) $(srcdir)/$$i $(DESTDIR)$(pkgdatadir)/$$i ; \
done
uninstall-local:
uninstall-local: uninstall-xfonts
@$(NORMAL_UNINSTALL)
files=`cd $(srcdir) ; echo $(LIBINSTFILES) $(LYXSCRIPTS)` ; \
for i in $${files} ; do \
rm -f $(pkgdatadir)/$$i ; \
rm -f $(DESTDIR)$(pkgdatadir)/$$i ; \
done ; \
dirs=`cd $(srcdir) ; echo $(LYXLIBDIRS)` ; \
for i in $${dirs} ; do \
rm -rf $(pkgdatadir)/$$i ; \
rm -rf $(DESTDIR)$(pkgdatadir)/$$i ; \
done
dist-hook: