1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
|
#!/usr/bin/make -f
# -*- makefile -*-
DH_VERBOSE=1
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
-include /usr/share/dpkg/buildflags.mk
ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
NUMJOBS = $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
MAKEFLAGS += -j$(NUMJOBS)
endif
get-orig-source:
uscan --force-download --rename --destdir .
override_dh_auto_configure:
cd docs && rake manpage > ../jq.1
dh_auto_configure
override_dh_auto_clean:
rm -f lexer.h lexer.c parser.h parser.c jq.1
dh_auto_clean
%:
dh $@ --with autoreconf
|