File: rules

package info (click to toggle)
fast-cpp-csv-parser 0.0%2Bgit20140429~0a2590-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 156 kB
  • ctags: 162
  • sloc: cpp: 868; makefile: 10; sh: 1
file content (18 lines) | stat: -rwxr-xr-x 490 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/make -f

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

PKD  = $(abspath $(dir $(MAKEFILE_LIST)))
PKG  = $(word 2,$(shell dpkg-parsechangelog -l$(PKD)/changelog | grep ^Source))
VER  = $(shell dpkg-parsechangelog -l$(PKD)/changelog -SVersion | cut -d- -f1)

%:
	dh $@ 

override_dh_auto_build:

get-orig-source: $(info I: $(PKG)_$(VER))
	cd ${CURDIR}
	wget https://fast-cpp-csv-parser.googlecode.com/git/csv.h -O csv.h
	tar -cJf ../$(PKG)_$(VER).orig.tar.xz *.h