summaryrefslogtreecommitdiff
blob: 08a3944e68cc14f9b59d8b5d6486c469c3c60c75 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
--- Makefile.am-original	2015-04-20 11:31:03.000000000 -0600
+++ Makefile.am	2015-04-20 13:27:01.000000000 -0600
@@ -1,9 +1,8 @@
 SUBDIRS = icons man src
 
-EXTRA_DIST = AUTHORS COPYING ChangeLog INFO INSTALL NEWS README THANKS compile.sh \
+EXTRA_DIST = compile.sh \
 	progsreiserfs-journal.patch progsreiserfs-file-read.patch \
 	darwin/readme_mac_powerpc.txt darwin/readme_mac_intel.txt \
-	documentation.html \
 	dos/readme.txt \
 	linux/testdisk.spec.in \
 	linux/qphotorec.desktop \
@@ -24,9 +23,9 @@
 
 AUTOMAKE_OPTIONS = gnits
 
+dist_doc_DATA =  AUTHORS COPYING ChangeLog NEWS INFO INSTALL README THANKS documentation.html
+
 install-data-hook:
-	$(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)
 if USEQT
 	$(mkinstalldirs) $(DESTDIR)$(datadir)/applications
 	$(INSTALL_DATA) $(top_srcdir)/linux/qphotorec.desktop $(DESTDIR)$(datadir)/applications