2007-10-29 22:38:52 +01:00
|
|
|
|
|
|
|
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 \
|
2008-02-01 00:56:40 +01:00
|
|
|
dos/readme.txt \
|
2008-04-22 09:39:28 +02:00
|
|
|
ico/photorec.ico ico/testdisk.ico \
|
2007-10-29 22:38:52 +01:00
|
|
|
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
|
|
|
|
|
|
|
|
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)/
|
2008-04-22 09:39:28 +02:00
|
|
|
$(INSTALL_DATA) $(top_srcdir)/doc/* $(DESTDIR)$(datadir)/doc/$(PACKAGE)-$(VERSION)/html
|
2007-10-29 22:38:52 +01:00
|
|
|
|
|
|
|
uninstall-hook:
|
|
|
|
rm -rf $(DESTDIR)$(datadir)/doc/$(PACKAGE)-$(VERSION)
|
|
|
|
|
|
|
|
static:
|
|
|
|
rm -f src/testdisk src/photorec src/testdisk.exe src/photorec.exe
|
2009-01-04 19:37:13 +01:00
|
|
|
$(MAKE) LDFLAGS="$(LDFLAGS) -static" LIBS="$(PTHREAD_LIBS) $(LIBS)" CFLAGS="$(PTHREAD_CFLAGS) $(CFLAGS)" CXXFLAGS="$(PTHREAD_CFLAGS) $(CXXFLAGS)"
|
2007-10-29 22:38:52 +01:00
|
|
|
|
|
|
|
smallstatic:
|
|
|
|
$(MAKE) static
|
|
|
|
(cd src && $(MAKE) small) || exit 1;
|
|
|
|
|
|
|
|
DISTCLEANFILES = *~ core
|