[med-svn] [Git][med-team/covtobed][master] Make a build directory and build binary into it

Shayan Doust gitlab at salsa.debian.org
Mon Jun 1 17:40:04 BST 2020



Shayan Doust pushed to branch master at Debian Med / covtobed


Commits:
7d22f0aa by Shayan Doust at 2020-06-01T17:39:37+01:00
Make a build directory and build binary into it

- - - - -


1 changed file:

- debian/rules


Changes:

=====================================
debian/rules
=====================================
@@ -4,28 +4,13 @@
 export LC_ALL=C.UTF-8
 
 include /usr/share/dpkg/default.mk
-# this provides:
-# DEB_SOURCE: the source package name
-# DEB_VERSION: the full version of the package (epoch + upstream vers. + revision)
-# DEB_VERSION_EPOCH_UPSTREAM: the package's version without the Debian revision
-# DEB_VERSION_UPSTREAM_REVISION: the package's version without the Debian epoch
-# DEB_VERSION_UPSTREAM: the package's upstream version
-# DEB_DISTRIBUTION: the distribution(s) listed in the current entry of debian/changelog
-# SOURCE_DATE_EPOCH: the source release date as seconds since the epoch, as
-#                    specified by <https://reproducible-builds.org/specs/source-date-epoch/>
 
 # for hardening you might like to uncomment this:
-# export DEB_BUILD_MAINT_OPTIONS=hardening=+all
+#export DEB_BUILD_MAINT_OPTIONS=hardening=+all
 
 %:
 	dh $@
 
-### When overriding auto_test make sure DEB_BUILD_OPTIONS will be respected
-#override_dh_auto_test:
-#ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
-#	do_stuff_for_testing
-#endif
-
-### If you **really** can not use uscan (even not with mode=git) use a debian/get-orig-script
-#get-orig-source:
-#	. debian/get-orig-source
+override_dh_auto_build:
+	mkdir build
+	c++ -std=c++11 *.cpp -I/usr/include/bamtools/ -L/usr/lib/ -lbamtools -o build/covtobed



View it on GitLab: https://salsa.debian.org/med-team/covtobed/-/commit/7d22f0aabc871b646ade96d72367ac6e1a266451

-- 
View it on GitLab: https://salsa.debian.org/med-team/covtobed/-/commit/7d22f0aabc871b646ade96d72367ac6e1a266451
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20200601/0a200571/attachment-0001.html>


More information about the debian-med-commit mailing list