File: Makefile.am

package info (click to toggle)
cdbs 0.4.130
  • links: PTS, VCS
  • area: main
  • in suites: jessie-kfreebsd
  • size: 1,348 kB
  • sloc: sh: 4,534; xml: 2,159; makefile: 178; perl: 138; python: 94; ansic: 7; java: 5
file content (83 lines) | stat: -rw-r--r-- 2,634 bytes parent folder | download | duplicates (3)
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
74
75
76
77
78
79
80
81
82
83
# -*- mode: makefile; coding: utf-8 -*-
# Copyright © 2002,2003 Colin Walters <walters@debian.org>
# Copyright © 2009-2011 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 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, see <http://www.gnu.org/licenses/>.

AUTOMAKE_OPTIONS = 1.8 foreign no-dist

SUBDIRS = . test

BUILT_SOURCES =

edit = perl -pe 's,\@PACKAGE_VERSION\@,$(PACKAGE_VERSION),;s,\#PATH_RULES\#,_cdbs_scripts_path ?= $(pkglibexecdir)\n_cdbs_rules_path ?= $(pkgdatadir)/1/rules\n_cdbs_class_path ?= $(pkgdatadir)/1/class,g; s,\@libexecdir\@,$(libexecdir),g; s,\@datadir\@,$(pkgdatadir),g; 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/rules/simple-patchsys.mk	\
		1/rules/dpatch.mk		\
		1/rules/upstream-tarball.mk	\
		1/rules/utils.mk		\
		1/rules/tarball.mk		\
		1/class/ant-vars.mk		\
		1/class/ant.mk			\
		1/class/autotools-vars.mk	\
		1/class/autotools-files.mk	\
		1/class/autotools.mk		\
		1/class/cmake.mk		\
		1/class/docbookxml.mk		\
		1/class/gnome.mk		\
		1/class/kde.mk			\
		1/class/langcore.mk		\
		1/class/makefile-vars.mk	\
		1/class/makefile.mk		\
		1/class/pd.mk			\
		1/class/perl-vars.mk		\
		1/class/perl-build-vars.mk	\
		1/class/perl-build.mk		\
		1/class/perl-makemaker-vars.mk	\
		1/class/perl-makemaker.mk	\
		1/class/perlmodule-vars.mk	\
		1/class/perlmodule.mk		\
		1/class/python-vars.mk		\
		1/class/python-autotools.mk	\
		1/class/python-module.mk	\
		1/class/python-distutils.mk	\
		1/class/python-sugar.mk		\
		1/class/qmake.mk		\
		1/class/scons-vars.mk		\
		1/class/scons.mk		\
		1/class/waf.mk			\
		1/class/hbuild.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

bin_SCRIPTS = scripts/cdbs-edit-patch
dist_man_MANS = scripts/cdbs-edit-patch.1

pkglibexec_SCRIPTS = scripts/list-packages scripts/licensecheck2dep5 scripts/waf-unpack