mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 21:21:32 +00:00
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:
parent
78e2cd8932
commit
53953235d8
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user