]> git.lyx.org Git - lyx.git/blob - lib/reLyX/Makefile.am
fix typo that put too many include paths for most people
[lyx.git] / lib / reLyX / Makefile.am
1 AUTOMAKE_OPTIONS = foreign
2 DISTCLEANFILES= *.orig *.rej *~ *.bak reLyX reLyX.1 config.log config.status
3 MAINTAINERCLEANFILES = $(srcdir)/Makefile.in $(srcdir)/configure
4 bin_SCRIPTS = reLyX noweb2lyx
5 LYXDATADIRS = reLyX reLyX/Text
6 LYXDISTDIRS = Text
7 man_MANS = reLyX.1
8 EXTRA_DIST = BUGS BasicLyX.pm CHANGES CleanTeX.pm LastLyX.pm MANIFEST \
9         MakePreamble.pm ReadCommands.pm RelyxTable.pm reLyX.pod \
10         reLyXmain.pl syntax.default test.ltx test.lyx reLyX.man \
11         RelyxFigure.pm Verbatim.pm \
12         $(LYXDISTDIRS)
13 DESTDIR =
14
15 LIBINSTFILES = *.pm *.pl README BUGS CHANGES reLyX.pod syntax.default Text/*.pm
16
17 reLyX.1:
18         cp -p $(srcdir)/reLyX.man reLyX.1
19
20 libinstalldirs:
21         for dir in $(LYXDATADIRS) ; do \
22           $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/$$dir ; \
23         done
24
25 install-data-local:  libinstalldirs
26         files=`cd $(srcdir) ; echo $(LIBINSTFILES)` ; \
27         for i in $$files ; do \
28            $(INSTALL_DATA) $(srcdir)/$$i $(DESTDIR)$(pkgdatadir)/reLyX/$$i ; \
29         done
30
31 uninstall-local:
32         @$(NORMAL_UNINSTALL)
33         files=`cd $(srcdir) ; echo $(LIBINSTFILES)` ; \
34         for i in $$files ; do \
35           rm -f $(pkgdatadir)/reLyX/$$i ; \
36         done ; \
37         dirs=`cd $(srcdir) ; echo $(LYXDATADIRS)` ; \
38         for i in $$dirs ; do \
39           rm -rf $(pkgdatadir)/$$i ; \
40         done