summaryrefslogtreecommitdiff
path: root/debian/Makefile
blob: a72baf011d3b7ac179a174e331ff52f50ff27961 (about) (plain)
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
# debian/Makefile

depth = ..

NAME= debian
BLURBS=BLURB
AT_FILES = $(BLURBS) # 
at-dir = $(outdir)/
at-ext =

EXTRA_DIST_FILES = README.Debian TODO $(CONF_FILES) $(OUT_DIST_FILES) control.foka
CONF_FILES=changelog copyright postinst postrm rules watch 
OUTCONF_FILES=$(addprefix $(outdir)/, $(basename $(CONF_FILES))) $(OUTIN_FILES)
OUT_DIST_FILES = $(OUTIN_FILES)

include $(depth)/make/Stepmake.make 


default: $(OUTCONF_FILES)


$(outdir)/%: %
	rm -f $@
	ln $< $@

$(outdir)/control: $(addprefix $(outdir)/, $(BLURBS))

$(outdir)/%: $(doc-dir)/%.in
	rm -f $@
	cat $< | sed 's%^% %' > $@

localdist: default