]> git.lyx.org Git - lyx.git/blobdiff - lib/reLyX/Makefile.am
Fixlets
[lyx.git] / lib / reLyX / Makefile.am
index 8acb7a599b320bed066163dead2b4e758dc7ee37..5e13ef49fe0ccacd69b0437e6fac865641141619 100644 (file)
@@ -8,7 +8,9 @@ man_MANS = reLyX.1
 EXTRA_DIST = BUGS BasicLyX.pm CHANGES CleanTeX.pm LastLyX.pm MANIFEST \
        MakePreamble.pm ReadCommands.pm RelyxTable.pm reLyX.pod \
        reLyXmain.pl syntax.default test.ltx test.lyx reLyX.man \
+       RelyxFigure.pm Verbatim.pm \
        $(LYXDISTDIRS)
+DESTDIR =
 
 LIBINSTFILES = *.pm *.pl README BUGS CHANGES reLyX.pod syntax.default Text/*.pm
 
@@ -17,11 +19,11 @@ reLyX.1:
 
 libinstalldirs:
        for dir in $(LYXDATADIRS) ; do \
-         $(mkinstalldirs) $(pkgdatadir)/$$dir ; \
+         $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/$$dir ; \
        done
 
 install-data-local:  libinstalldirs
        files=`cd ${srcdir} ; echo $(LIBINSTFILES)` ; \
        for i in $${files} ; do \
-          $(INSTALL_DATA) ${srcdir}/$$i $(pkgdatadir)/reLyX/$$i ; \
+          $(INSTALL_DATA) ${srcdir}/$$i $(DESTDIR)$(pkgdatadir)/reLyX/$$i ; \
        done