projets
/
auf-git-etc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
* Basculement des hook et exclude en fichier de configuration Debian.
[auf-git-etc.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index
508a3c4
..
b95d313
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-1,12
+1,25
@@
+VERSION = $(shell dpkg-parsechangelog | sed -n 's/^Version: //p')
+DIST = $(shell dpkg-parsechangelog | sed -n 's/^Distribution: //p')
+
all: build
build:
install: build
all: build
build:
install: build
+ install -o root -g root -m 0755 -d $(DESTDIR)/usr/sbin
+ install -o root -g root -m 0755 cron.auf-git-etc $(DESTDIR)/usr/sbin/
+ install -o root -g root -m 0755 -d $(DESTDIR)/etc/profile.d
install -o root -g root -m 0644 auf-git-etc.sh $(DESTDIR)/etc/profile.d/
install -o root -g root -m 0644 auf-git-etc.sh $(DESTDIR)/etc/profile.d/
+ install -o root -g root -m 0750 -d $(DESTDIR)/etc/auf-git-etc
+ cp -a etc/* $(DESTDIR)/etc/auf-git-etc/
clean:
clean:
-deb:
- debuild
+test:
+ debuild -I.git -I*.ex -b -us -uc && \
+ rsync -avP ../auf-git-etc_$(VERSION)_all.deb test:/tmp/
+ # sudo debi
+
+release:
+ debuild -I.git -I*.ex && debrelease --dput $(DIST)-test