VERSION = $(shell dpkg-parsechangelog | sed -n 's/^Version: //p') DIST = $(shell dpkg-parsechangelog | sed -n 's/^Distribution: //p') all: install: install -o root -g root -m 0644 auf-nomades.conf $(DESTDIR)/etc/openvpn clean: test: debuild -I.git -I*.ex -b -us -uc && \ sudo dpkg -i ../auf-serveur-openvpn-nomades_$(VERSION)_all.deb release: debuild -I.git -I*.ex && debrelease --dput $(DIST)