git://git.onelab.eu
/
myslice.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
40c38e1
)
oops, need a debian target
author
Thierry Parmentelat
<thierry.parmentelat@inria.fr>
Fri, 3 May 2013 16:00:34 +0000
(18:00 +0200)
committer
Thierry Parmentelat
<thierry.parmentelat@inria.fr>
Fri, 3 May 2013 16:00:34 +0000
(18:00 +0200)
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index
69c1336
..
de9b7db
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-22,6
+22,23
@@
install:
--install-scripts=$(DESTDIR)/$(datadir)/myslice \
--install-data=$(DESTDIR)/$(datadir)/myslice
--install-scripts=$(DESTDIR)/$(datadir)/myslice \
--install-data=$(DESTDIR)/$(datadir)/myslice
+####################
+debian: static templates debian/changelog debian.source debian.package
+
+debian/changelog: debian/changelog.in
+ sed -e "s|@VERSION@|$(DEBVERSION)|" -e "s|@DATE@|$(DATE)|" debian/changelog.in > debian/changelog
+
+debian.source: force
+ rsync -a $(RPMTARBALL) $(DEBTARBALL)
+
+debian.package:
+ debuild -uc -us -b
+
+debian.clean:
+ $(MAKE) -f debian/rules clean
+ rm -rf build/ MANIFEST ../*.tar.gz ../*.dsc ../*.build
+ find . -name '*.pyc' -delete
+
#################### third-party layout is kind of special
# because we have differents versions, and also we
#################### third-party layout is kind of special
# because we have differents versions, and also we