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
|
2002-03-25 11:15:27 +00:00
|
|
|
files=`cd $(srcdir) ; echo $(LIBINSTFILES)` ; \
|
2002-04-01 08:34:53 +00:00
|
|
|
for i in $$files ; do \
|
2002-03-25 11:15:27 +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)
|
2002-03-25 11:15:27 +00:00
|
|
|
files=`cd $(srcdir) ; echo $(LIBINSTFILES)` ; \
|
2002-04-01 08:34:53 +00:00
|
|
|
for i in $$files ; do \
|
2001-03-01 15:03:52 +00:00
|
|
|
rm -f $(pkgdatadir)/reLyX/$$i ; \
|
|
|
|
done ; \
|
2002-03-25 11:15:27 +00:00
|
|
|
dirs=`cd $(srcdir) ; echo $(LYXDATADIRS)` ; \
|
2002-04-01 08:34:53 +00:00
|
|
|
for i in $$dirs ; do \
|
2001-03-01 15:03:52 +00:00
|
|
|
rm -rf $(pkgdatadir)/$$i ; \
|
|
|
|
done
|