summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul C. Buetow <paul@buetow.org>2014-04-15 09:22:13 +0200
committerPaul C. Buetow <paul@buetow.org>2014-04-15 09:22:13 +0200
commitc9b966553c7b096fba20a5558023a6235080aceb (patch)
tree5862961ed8e5a764805bc327cc54ac8821f3b12b
parent4d3c53a1d14229940de04f7392548de666b4c2c3 (diff)
can build package
-rw-r--r--Makefile10
-rw-r--r--debian/changelog2
-rw-r--r--debian/fapi.substvars1
3 files changed, 9 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 9c6f29e..db17930 100644
--- a/Makefile
+++ b/Makefile
@@ -8,10 +8,13 @@ build:
# $DESTDIR is actually set by the Debian tools.
install:
test ! -d $(DESTDIR)/usr/bin && mkdir -p $(DESTDIR)/usr/bin || exit 0
- cp ./bin/fapi $(DESTDIR)/usr/bin/fapi
- cp ./bin/fapi $(DESTDIR)/usr/bin/f
+ test ! -d $(DESTDIR)/usr/share/$(NAME) && mkdir -p $(DESTDIR)/usr/share/$(NAME) || exit 0
+ cp ./bin/$(NAME) $(DESTDIR)/usr/bin/$(NAME)
+ cp ./bin/$(NAME) $(DESTDIR)/usr/bin/f
+ cp $(NAME).conf.sample $(DESTDIR)/usr/share/$(NAME)
deinstall:
test ! -z "$(DESTDIR)" && test -f $(DESTDIR)/usr/bin/$(NAME) && rm $(DESTDIR)/usr/bin/$(NAME) || exit 0
+ test ! -z "$(DESTDIR)" && test -f $(DESTDIR)/usr/share/$(NAME) && rm -r $(DESTDIR)/usr/share/$(NAME) || exit 0
clean:
rm bin/*
# Parses the version out of the Debian changelog
@@ -38,4 +41,5 @@ clean-top:
rm ../$(NAME)_*.dsc
rm ../$(NAME)_*.changes
rm ../$(NAME)_*.deb
-
+dput:
+ dput -u wheezy-buetowdotorg ../$(NAME)_$$(cat ./.version)_amd64.changes
diff --git a/debian/changelog b/debian/changelog
index 4b16bba..e66ecb0 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,4 +2,4 @@ fapi (0.0.0) stable; urgency=low
* Initial version of fapi
- -- Paul Buetow <paul@buetow.org> Fri, 04 Jan 2013 07:53:32 +0100
+ -- Paul Buetow <paul@buetow.org> Tue, 15 Apr 2014 09:19:30 +0200
diff --git a/debian/fapi.substvars b/debian/fapi.substvars
index abd3ebe..f47544e 100644
--- a/debian/fapi.substvars
+++ b/debian/fapi.substvars
@@ -1 +1,2 @@
+python:Depends=python
misc:Depends=