]> rtime.felk.cvut.cz Git - hercules2020/hercules-compiler.git/commitdiff
Add build dependencies and create-orig-tgz Makefile target
authorMichal Sojka <sojka@ritchie.ciirc.cvut.cz>
Wed, 2 May 2018 17:27:17 +0000 (19:27 +0200)
committerMichal Sojka <sojka@ritchie.ciirc.cvut.cz>
Wed, 2 May 2018 17:27:17 +0000 (19:27 +0200)
Makefile
debian/control

index 7142f4a2ff0e8f65e8aff61c4345fc0eba086d58..8b04239c588de3e2b54a203da7228a2a0caf5c07 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -21,3 +21,8 @@ install: all
 
 clean:
        rm -rf build
+
+create-orig-tgz: prefix=$(notdir $(CURDIR))
+create-orig-tgz:
+       git ls-files --recurse-submodules | sed "s#^#$(prefix)/#" | \
+       tar -c -C.. -z -f "../$(prefix)_$(shell dpkg-parsechangelog --show-field Version|sed -e s/-.*//).orig.tar.gz" --verbatim-files-from --files-from=-
index 7f521990fe726e569826c9a618278eadd8352d0a..33955e11dc74ec472a8149a0a3aca734dc01ada0 100644 (file)
@@ -2,7 +2,7 @@ Source: hercules-compiler
 Section: devel
 Priority: optional
 Maintainer: Michal Sojka <michal.sojka@cvut.cz>
-Build-Depends: debhelper (>= 9)
+Build-Depends: debhelper (>= 9), cmake, ninja-build, python3
 Standards-Version: 3.9.8
 Homepage: https://iis-git.ee.ethz.ch/H2020-Compiler/llvm
 #Vcs-Git: https://anonscm.debian.org/collab-maint/hercules-compiler.git