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 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73
|
## Process this file with automake to produce Makefile.in
#
# Building faubackup
#
SUBDIRS = doc src
dist_sysconf_DATA = faubackup.conf
#
# for packaging from GIT repository:
#
dist-deb: distcheck
tar xzf @PACKAGE_TARNAME@-@PACKAGE_VERSION@.tar.gz
cp -a debian @PACKAGE_TARNAME@-@PACKAGE_VERSION@/
cd @PACKAGE_TARNAME@-@PACKAGE_VERSION@ && debuild
rm -rf @PACKAGE_TARNAME@-@PACKAGE_VERSION@
#
# for the testsuite:
#
EXTRA_DIST = \
testsuite \
testsuite.at \
tests/atconfig.in \
tests/atlocal.in \
tests/t_help.at \
tests/t_find.at \
package.m4
MOSTLYCLEANFILES = \
testsuite.dir/at-check-line \
testsuite.dir/at-status \
testsuite.dir/at-stdout \
testsuite.dir/at-stder1 \
testsuite.dir/at-stderr \
testsuite.dir/at-times \
testsuite.log
DISTCLEANFILES = \
tests/atconfig
TESTSUITE = $(srcdir)/testsuite
AUTOTEST = autom4te --language=Autotest
check-local: tests/atconfig tests/atlocal $(TESTSUITE)
$(SHELL) $(TESTSUITE) AUTOTEST_PATH=src
# note: these targets are all in srcdir; they are *not* built during
# the VPATH build part of distcheck (with non-writable source
# directory) but only during the initial dist stage.
$(TESTSUITE): $(srcdir)/testsuite.at \
$(srcdir)/package.m4 \
$(srcdir)/tests/t_help.at \
$(srcdir)/tests/t_find.at
$(AUTOTEST) -I $(srcdir) $< -o $@.tmp
mv $@.tmp $@
$(srcdir)/package.m4: $(top_srcdir)/configure.ac
{ \
echo '# Signature of the current package.'; \
echo 'm4_define([AT_PACKAGE_NAME], [@PACKAGE_NAME@])'; \
echo 'm4_define([AT_PACKAGE_TARNAME], [@PACKAGE_TARNAME@])'; \
echo 'm4_define([AT_PACKAGE_VERSION], [@PACKAGE_VERSION@])'; \
echo 'm4_define([AT_PACKAGE_STRING], [@PACKAGE_STRING@])'; \
echo 'm4_define([AT_PACKAGE_BUGREPORT], [@PACKAGE_BUGREPORT@])'; \
} >$(srcdir)/package.m4
|