lyx_mirror/lib/reLyX/Makefile.am
Lars Gullik Bjønnes c8089f8bf9 makefile cleanup, and avoid some warnings
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3821 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-25 11:15:27 +00:00

41 lines
1.2 KiB
Makefile

AUTOMAKE_OPTIONS = foreign
DISTCLEANFILES= *.orig *.rej *~ *.bak reLyX reLyX.1 config.log config.status
MAINTAINERCLEANFILES = $(srcdir)/Makefile.in $(srcdir)/configure
bin_SCRIPTS = reLyX noweb2lyx
LYXDATADIRS = reLyX reLyX/Text
LYXDISTDIRS = Text
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
reLyX.1:
cp -p $(srcdir)/reLyX.man reLyX.1
libinstalldirs:
for dir in $(LYXDATADIRS) ; do \
$(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/$$dir ; \
done
install-data-local: libinstalldirs
files=`cd $(srcdir) ; echo $(LIBINSTFILES)` ; \
for i in $$(files) ; do \
$(INSTALL_DATA) $(srcdir)/$$i $(DESTDIR)$(pkgdatadir)/reLyX/$$i ; \
done
uninstall-local:
@$(NORMAL_UNINSTALL)
files=`cd $(srcdir) ; echo $(LIBINSTFILES)` ; \
for i in $$(files) ; do \
rm -f $(pkgdatadir)/reLyX/$$i ; \
done ; \
dirs=`cd $(srcdir) ; echo $(LYXDATADIRS)` ; \
for i in $$(dirs) ; do \
rm -rf $(pkgdatadir)/$$i ; \
done