summaryrefslogtreecommitdiffstats
path: root/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am13
1 files changed, 5 insertions, 8 deletions
diff --git a/Makefile.am b/Makefile.am
index 6d89e57..aa18c41 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,10 +1,10 @@
-SUBDIRS = src
+SUBDIRS = src man
EXTRA_DIST = AUTHORS COPYING ChangeLog INFO INSTALL NEWS README THANKS compile.sh \
progsreiserfs-journal.patch progsreiserfs-file-read.patch \
darwin/readme_mac_powerpc.txt darwin/readme_mac_intel.txt \
- doc_src/testdisk.8.in doc_src/photorec.8.in doc_src/fidentify.8.in documentation.html \
+ documentation.html \
dos/readme.txt \
ico/photorec.ico ico/testdisk.ico \
linux/testdisk.spec.in \
@@ -25,14 +25,12 @@ EXTRA_DIST = AUTHORS COPYING ChangeLog INFO INSTALL NEWS README THANKS compile.s
AUTOMAKE_OPTIONS = gnits
-man_MANS = doc_src/testdisk.8 doc_src/photorec.8 doc_src/fidentify.8
-
install-data-hook:
- $(mkinstalldirs) $(DESTDIR)$(datadir)/doc/$(PACKAGE)-$(VERSION)
- $(INSTALL_DATA) $(top_srcdir)/AUTHORS $(top_srcdir)/ChangeLog $(top_srcdir)/NEWS $(top_srcdir)/README $(top_srcdir)/THANKS $(top_srcdir)/documentation.html $(DESTDIR)$(datadir)/doc/$(PACKAGE)-$(VERSION)/
+ $(mkinstalldirs) $(DESTDIR)$(docdir)
+ $(INSTALL_DATA) $(top_srcdir)/AUTHORS $(top_srcdir)/ChangeLog $(top_srcdir)/NEWS $(top_srcdir)/README $(top_srcdir)/THANKS $(top_srcdir)/documentation.html $(DESTDIR)$(docdir)
uninstall-hook:
- rm -rf $(DESTDIR)$(datadir)/doc/$(PACKAGE)-$(VERSION)
+ rm -rf $(DESTDIR)$(docdir)
static:
rm -f src/testdisk src/testdisk.exe src/photorec src/photorec.exe src/fidentify src/fidentify.exe src/qphotorec src/qphotorec.exe
@@ -46,7 +44,6 @@ extras:
(cd src && $(MAKE) extras) || exit 1;
extrasstatic:
-# rm -f src/fidentify src/fidentify.exe
$(MAKE) LDFLAGS="$(LDFLAGS) -static" LIBS="$(PTHREAD_LIBS) $(LIBS)" CFLAGS="$(PTHREAD_CFLAGS) $(CFLAGS)" CXXFLAGS="$(PTHREAD_CFLAGS) $(CXXFLAGS)" extras
DISTCLEANFILES = *~ core