]> git.donarmstrong.com Git - xournal.git/commitdiff
Initial revision
authorauroux <auroux>
Thu, 5 Jan 2006 22:10:29 +0000 (22:10 +0000)
committerauroux <auroux>
Thu, 5 Jan 2006 22:10:29 +0000 (22:10 +0000)
Makefile.am [new file with mode: 0644]

diff --git a/Makefile.am b/Makefile.am
new file mode 100644 (file)
index 0000000..7a982a6
--- /dev/null
@@ -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
+