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
|
## -*- mode: makefile; coding: utf-8 -*-
## Copyright © 2003 Jeff Bailey <jbailey@debian.org>
##
## This program is free software; you can redistribute it and/or
## modify it under the terms of the GNU General Public License as
## published by the Free Software Foundation; either version 2, or (at
## your option) any later version.
##
## This program is distributed in the hope that it will be useful, but
## WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
## General Public License for more details.
##
## You should have received a copy of the GNU General Public License
## along with this program; if not, write to the Free Software
## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
## 02111-1307 USA.
# Run these tests silently so we can see what fails
TESTS_ENVIRONMENT = TESTS_SILENT=true
EXTRA_DIST = testsuite_functions
TESTS = autotools-1.sh \
autotools-2.sh \
autotools-3.sh \
autotools-4.sh \
autotools-5.sh \
recursive.sh \
udeb-1.sh \
hdparm.sh \
debhelper-1.sh \
debhelper-2.sh \
debhelper-3.sh \
debhelper-4.sh \
debhelper-5.sh \
debhelper-6.sh \
debhelper-7.sh \
patchsys-1.sh \
list-missing-1.sh \
distutils-1.sh \
distutils-2.sh \
distutils-3.sh \
distutils-4.sh
TARBALLS = tarballs/autotools-test-0.1.tar.gz \
tarballs/distutils-test-0.1.tar.gz
check-local: tarballs
tarballs: $(TARBALLS)
clean-local:
rm -rf workdir cdbs.build
distclean-local:
rm -rf tarballs
tarballs/autotools-test-0.1.tar.gz:
-mkdir tarballs
rm -rf cdbs.build
mkdir cdbs.build
cd cdbs.build && ../autotools/configure
$(MAKE) -C cdbs.build dist
mv cdbs.build/autotools-test-0.1.tar.gz tarballs
rm -rf cdbs.build
tarballs/distutils-test-0.1.tar.gz:
-mkdir tarballs
cd distutils && ./setup.py sdist
mv distutils/dist/distutils-test-0.1.tar.gz tarballs
rm -rf distutils/dist
|