Debian Codegraph @

debian/rules

raw
1 #! /usr/bin/make -f
2 %:
3 dh $@
4
5 export DEB_BUILD_MAINT_OPTIONS := hardening=+all
6 export DEB_CFLAGS_MAINT_APPEND := -Wall
7
8 override_dh_auto_configure:
9 dh_auto_configure -- CFLAGS="$(CPPFLAGS) $(CFLAGS)"
10
11 # Skip upstream's "make install", since renaming is slightly awkward. We
12 # rely on dh_install and dh_installman instead.
13 override_dh_auto_install:
14
15 override_dh_installchangelogs:
16 dh_installchangelogs NEWS
17
18 # git clones do not contain git-svn metadata. This can be used to set it
19 # back up if you need it.
20 git-svn-setup:
21 set -e; if [ -d .git ] && [ ! -d .git/svn ]; then \
22 git config svn-remote.svn.url svn://svn.code.sf.net/p/ctags/code; \
23 git config svn-remote.svn.fetch trunk:refs/remotes/svn/trunk; \
24 git config svn-remote.svn.branches 'branches/*:refs/remotes/svn/*'; \
25 git config svn-remote.svn.tags 'tags/*:refs/remotes/svn/tags/*'; \
26 git update-ref refs/remotes/svn/trunk "$$(git log -n1 --grep git-svn-id: --format=%H)"; \
27 git svn fetch; \
28 fi