mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-26 19:25:39 +00:00
b60497a814
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3875 a592a061-630c-0410-9148-cb99ea01b6c8
41 lines
1.2 KiB
Makefile
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
|