1999-09-27 18:44:28 +00:00
|
|
|
AUTOMAKE_OPTIONS = foreign
|
2002-03-02 22:58:56 +00:00
|
|
|
DISTCLEANFILES= *.orig *.rej *~ *.bak reLyX reLyX.1 config.log config.status
|
|
|
|
MAINTAINERCLEANFILES = $(srcdir)/Makefile.in $(srcdir)/configure
|
1999-10-12 14:08:52 +00:00
|
|
|
bin_SCRIPTS = reLyX noweb2lyx
|
1999-09-27 18:44:28 +00:00
|
|
|
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 \
|
1999-10-16 14:06:57 +00:00
|
|
|
RelyxFigure.pm Verbatim.pm \
|
1999-09-27 18:44:28 +00:00
|
|
|
$(LYXDISTDIRS)
|
2000-04-03 11:36:35 +00:00
|
|
|
DESTDIR =
|
1999-09-27 18:44:28 +00:00
|
|
|
|
|
|
|
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 \
|
2000-03-27 15:34:41 +00:00
|
|
|
$(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/$$dir ; \
|
1999-09-27 18:44:28 +00:00
|
|
|
done
|
|
|
|
|
|
|
|
install-data-local: libinstalldirs
|
|
|
|
files=`cd ${srcdir} ; echo $(LIBINSTFILES)` ; \
|
|
|
|
for i in $${files} ; do \
|
2000-03-27 15:34:41 +00:00
|
|
|
$(INSTALL_DATA) ${srcdir}/$$i $(DESTDIR)$(pkgdatadir)/reLyX/$$i ; \
|
1999-09-27 18:44:28 +00:00
|
|
|
done
|
2001-03-01 15:03:52 +00:00
|
|
|
|
|
|
|
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
|