summaryrefslogtreecommitdiffstats
path: root/Makefile.am
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2007-10-29 22:38:52 +0100
committerChristophe Grenier <grenier@cgsecurity.org>2007-10-29 22:38:52 +0100
commit9928d99936105b4653d2d1b8ca74dc3ffba5c71e (patch)
tree06aa4f5e9f0055027c6fb54dd47a8414cf2fba32 /Makefile.am
First version in git
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am41
1 files changed, 41 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
new file mode 100644
index 0000000..9c2f4ad
--- /dev/null
+++ b/Makefile.am
@@ -0,0 +1,41 @@
+
+SUBDIRS = src
+
+EXTRA_DIST = AUTHORS COPYING ChangeLog INFO INSTALL NEWS README THANKS compile.sh progsreiserfs-journal.patch \
+ darwin/readme.txt \
+ doc_src/testdisk.1.in doc_src/photorec.1.in doc \
+ dos/readme.txt dos/testdisk.bat \
+ linux/testdisk.spec.in \
+ src/icon_ph.rc src/icon_tst.rc \
+ win/readme.txt
+
+AUTOMAKE_OPTIONS = gnits
+
+man_MANS = doc_src/testdisk.1 doc_src/photorec.1
+
+#dist-hook: linux/testdisk.spec
+# cp linux/testdisk.spec $(distdir)
+
+#libtool: $(LIBTOOL_DEPS)
+# $(SHELL) ./config.status --recheck
+
+install-data-hook:
+ $(mkinstalldirs) $(DESTDIR)$(datadir)/doc/$(PACKAGE)-$(VERSION)
+ $(mkinstalldirs) $(DESTDIR)$(datadir)/doc/$(PACKAGE)-$(VERSION)/html
+ $(INSTALL_DATA) $(top_srcdir)/AUTHORS $(top_srcdir)/ChangeLog $(top_srcdir)/NEWS $(top_srcdir)/README $(top_srcdir)/THANKS $(DESTDIR)$(datadir)/doc/$(PACKAGE)-$(VERSION)/
+ $(INSTALL_DATA) $(top_srcdir)/doc/*.html $(DESTDIR)$(datadir)/doc/$(PACKAGE)-$(VERSION)/html
+ $(INSTALL_DATA) $(top_srcdir)/doc/*.gif $(DESTDIR)$(datadir)/doc/$(PACKAGE)-$(VERSION)/html
+ $(INSTALL_DATA) $(top_srcdir)/doc/*.png $(DESTDIR)$(datadir)/doc/$(PACKAGE)-$(VERSION)/html
+
+uninstall-hook:
+ rm -rf $(DESTDIR)$(datadir)/doc/$(PACKAGE)-$(VERSION)
+
+static:
+ rm -f src/testdisk src/photorec src/testdisk.exe src/photorec.exe
+ $(MAKE) LDFLAGS="$(LDFLAGS) -static"
+
+smallstatic:
+ $(MAKE) static
+ (cd src && $(MAKE) small) || exit 1;
+
+DISTCLEANFILES = *~ core