Le projet "auf-referentiels" devient "auf-refer", comprend qui peut... ;-)
[auf-refer.git] / Makefile
1 VERSION = $(shell dpkg-parsechangelog | sed -n 's/^Version: //p')
2 DIST = $(shell dpkg-parsechangelog | sed -n 's/^Distribution: //p')
3
4 all: build
5
6 build:
7
8 install:
9 install -m 0755 -d $(DESTDIR)/usr/sbin
10 install -m 0755 auf-refer $(DESTDIR)/usr/sbin/
11 install -m 0755 -d $(DESTDIR)/etc/auf-refer
12 install -m 0644 *.conf $(DESTDIR)/etc/auf-refer/
13 install -m 0755 -d $(DESTDIR)/var/lib/auf-refer
14
15 clean:
16
17 test:
18 debuild -I.git -I*.ex -b -us -uc && sudo debi
19
20 release:
21 debuild -I.git -I*.ex -tc && debrelease --dput $(DIST)-test
22