From 085b1f0950d60828fd877eb8e631663f161812ea Mon Sep 17 00:00:00 2001 From: auroux Date: Thu, 5 Jan 2006 22:10:29 +0000 Subject: [PATCH] Initial revision --- Makefile.am | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 Makefile.am diff --git a/Makefile.am b/Makefile.am new file mode 100644 index 0000000..7a982a6 --- /dev/null +++ b/Makefile.am @@ -0,0 +1,52 @@ +## Process this file with automake to produce Makefile.in + +SUBDIRS = src + +EXTRA_DIST = \ + autogen.sh \ + xournal.glade \ + xournal.gladep + +install-data-local: + @$(NORMAL_INSTALL) + if test -d $(srcdir)/pixmaps; then \ + $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/pixmaps; \ + for pixmap in $(srcdir)/pixmaps/*; do \ + if test -f $$pixmap; then \ + $(INSTALL_DATA) $$pixmap $(DESTDIR)$(pkgdatadir)/pixmaps; \ + fi \ + done \ + fi; \ + if test -d $(srcdir)/html-doc; then \ + $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/html-doc; \ + for docfile in $(srcdir)/html-doc/*; do \ + if test -f $$docfile; then \ + $(INSTALL_DATA) $$docfile $(DESTDIR)$(pkgdatadir)/html-doc; \ + fi \ + done; \ + if test ! -e $(DESTDIR)$(pkgdatadir)/html-doc/pixmaps; then \ + ln -s ../pixmaps $(DESTDIR)$(pkgdatadir)/html-doc/pixmaps; \ + fi \ + fi + +dist-hook: + if test -d pixmaps; then \ + mkdir $(distdir)/pixmaps; \ + for pixmap in pixmaps/*; do \ + if test -f $$pixmap; then \ + cp -p $$pixmap $(distdir)/pixmaps; \ + fi \ + done \ + fi; \ + if test -d html-doc; then \ + mkdir $(distdir)/html-doc; \ + for docfile in html-doc/*; do \ + if test -f $$docfile; then \ + cp -p $$docfile $(distdir)/html-doc; \ + fi \ + done; \ + if test ! -e $(distdir)/html-doc/pixmaps; then \ + ln -s ../pixmaps $(distdir)/html-doc/pixmaps; \ + fi \ + fi + -- 2.39.2