summaryrefslogtreecommitdiff
path: root/vendor/vendor.makefile
blob: 40b35ea3d9e5e1ad100dcd87edf9c40338238923 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# -*- make -*-
BASE=../..
SUBDIR=vendor/@@VENDOR@@

# Bring in the default rules
include ../../buildlib/defaults.mak

doc binary manpages: sources.list

sources.list: sources.list.in ../../doc/apt-verbatim.ent
	sed -e 's#&debian-stable-codename;#$(shell ../getinfo debian-stable-codename)#g' \
		-e 's#&debian-oldstable-codename;#$(shell ../getinfo debian-oldstable-codename)#g' \
		-e 's#&debian-testing-codename;#$(shell ../getinfo debian-testing-codename)#g' \
		-e 's#&ubuntu-codename;#$(shell ../getinfo ubuntu-codename)#g' \
		-e 's#&current-codename;#$(shell ../getinfo current-codename)#g' \
		$< > $@

clean: clean/sources.list

clean/sources.list:
	rm -f sources.list