Browse Source

Makefile: provide uninstall target, closes #6

tags/v0.1.0
Michael Prokop 9 years ago
parent
commit
d46103e9c5
1 changed files with 7 additions and 0 deletions
  1. +7
    -0
      Makefile

+ 7
- 0
Makefile View File

@@ -14,6 +14,13 @@ install: $(scripts)
mkdir -p $(DESTDIR)/usr/share/jenkins-debian-glue/examples/
install -m 0664 examples/* $(DESTDIR)/usr/share/jenkins-debian-glue/examples/

uninstall: $(scripts)
for prog in $(PROGRAMS); do \
rm $(DESTDIR)/$(PREFIX)/bin/$${prog#scripts} ; \
done
rm -rf $(DESTDIR)/usr/share/jenkins-debian-glue/examples
rmdir --ignore-fail-on-non-empty $(DESTDIR)/usr/share/jenkins-debian-glue

deploy:
fab all



Loading…
Cancel
Save