1 VERSION
= $(shell dpkg-parsechangelog | sed
-n
's/^Version: //p')
2 DIST
= $(shell dpkg-parsechangelog | sed
-n
's/^Distribution: //p')
4 REDMINE
= https
://redmine.auf.org
5 PROJECT
= modeles-openoffice
7 #HEADERS = --header='Pragma: no-cache'
14 wget
-O-
$(HEADERS
) $(REDMINE
)/projects
/$(PROJECT
)/files \
15 | sed
-n
'/class="filename"/s/^.*href="\([^"]*\)".*$$/\1/p' \
16 | while read path
; do wget
-N
$(HEADERS
) $(REDMINE
)$$path ; done
19 build
: .download_stamp
22 cd downloads
; for file in
* ; do \
23 install -m
0644 $$file $(DESTDIR
)/usr
/share
/modeles-openoffice
/AuF
/ \
29 rm -rf .download_stamp downloads
32 debuild
-I.git
-I
*.ex
-b
-us
-uc
&& sudo debi
35 debuild
-I.git
-I
*.ex
-tc
&& debrelease
--dput
$(DIST
)-test