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
|
# -*- mode: makefile; coding: utf-8 -*-
# Copyright © 2002,2003 Colin Walters <walters@debian.org>
# Copyright © 2009-2012, 2014, 2016 Jonas Smedegaard <dr@jones.dk>
#
# 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 3, 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, see <http://www.gnu.org/licenses/>.
AUTOMAKE_OPTIONS = 1.8 foreign no-dist
BUILT_SOURCES =
edit = perl -p \
-e 's,\@PACKAGE_VERSION\@,$(PACKAGE_VERSION),;' \
-e 's,\#PATH_RULES\#,_cdbs_scripts_path ?= $(pkglibexecdir)\n_cdbs_rules_path ?= $(pkgdatadir)/1/rules\n_cdbs_class_path ?= $(pkgdatadir)/1/class,g;' \
-e 's,\@libexecdir\@,$(libexecdir),g;' \
-e 's,\@datadir\@,$(pkgdatadir),g;' \
-e 's,\@prefix\@,$(prefix),g;'
%.mk: %.mk.in
rm -f $@ $@.tmp
$(edit) <$(srcdir)/$< >$@.tmp
mv $@.tmp $@
all_mk_files = 1/rules/buildvars.mk \
1/rules/buildcore.mk \
1/rules/debhelper.mk \
1/class/autotools-vars.mk \
1/class/autotools-files.mk \
1/class/autotools.mk \
1/class/langcore.mk \
1/class/makefile-vars.mk \
1/class/makefile.mk
all-local: $(all_mk_files) $(scripts_SCRIPTS)
CLEANFILES = $(all_mk_files)
class_DATA = $(wildcard 1/class/*.mk)
classdir = $(pkgdatadir)/1/class
rules_DATA = $(wildcard 1/rules/*.mk)
rulesdir = $(pkgdatadir)/1/rules
pkglibexec_SCRIPTS = \
scripts/list-packages \
scripts/license-miner \
scripts/licensecheck2dep5
EXTRA_DIST = tests/clean.at \
tests/auto.at \
tests/auto-build.at \
tests/auto-srcbuild.at \
tests/hdparm.at \
tests/exclude.at
@AX_GNU_AUTOTEST_DEFAULT@
|