1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
# The "Packfile" is just a make script, which is used as mid-packing
# helper. It's run within fpm/xmp execution context in /tmp/staging123/,
# where final distribution file arrangements are made.
# Keeps the Makefile more „build“-related.
all: preprocess $(PACK_TYPE)
# More selective file rewriting
preprocess: usr/share/streamtuner2/channels/search.pym
%.pym: %.py
preprocess -D $(PKG_FLAG) -o $< $<
deb: # complainy lintian needs a custom changelog.gz
gzip -9c usr/share/doc/streamtuner2/NEWS > usr/share/doc/streamtuner2/changelog.gz
|
|
|
<
<
|
1
2
3
4
5
6
7
8
9
10
11
12
|
# See http://fossil.include-once.org/xpm/wiki/Packfile
# Applies minor file tweaks right before -t package generation.
all: preprocess $(PACK_TYPE)
# More selective file rewriting
preprocess: usr/share/streamtuner2/channels/search.pym
%.pym: %.py
preprocess -D $(PKG_FLAG) -o $< $<
deb: # complainy lintian needs a custom changelog.gz
gzip -9c usr/share/doc/streamtuner2/NEWS > usr/share/doc/streamtuner2/changelog.gz
|