File: Makefile.am

package info (click to toggle)
cdbs 0.4.48
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 1,012 kB
  • ctags: 58
  • sloc: sh: 4,521; xml: 1,968; makefile: 159; perl: 64; python: 16; ansic: 7; java: 5
file content (70 lines) | stat: -rw-r--r-- 2,214 bytes parent folder | download
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
# -*- mode: makefile; coding: utf-8 -*-
# Copyright © 2002,2003 Colin Walters <walters@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.

AUTOMAKE_OPTIONS = 1.8 foreign no-dist

SUBDIRS = . doc test

BUILT_SOURCES =

edit = perl -pe 's,\@PACKAGE_VERSION\@,$(PACKAGE_VERSION),;s,\#PATH_RULES\#,_cdbs_scripts_path ?= $(libexecdir)\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/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/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/perlmodule-vars.mk	\
		1/class/perlmodule.mk		\
		1/class/python-distutils.mk	\
		1/class/qmake.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

scripts_SCRIPTS = scripts/list-packages
scriptsdir = $(libexecdir)