Debian Codegraph @

debian/rules

raw symbols SCIP
1 #!/usr/bin/make -f
2 # -*- makefile -*-
3 # debian/rules file, written by Maxime Chatelle <[email protected]>
4
5 # Uncomment this to turn on verbose mode.
6 export DH_VERBOSE=1
7
8
9 # install destination
10 DESTDIR = $(CURDIR)/debian/cronolog
11
12 # std flags
13 CFLAGS += -g -Wall
14 # must be used on architecture where sizeof(ptr*) > sizeof(int) (bug#323425)
15 CFLAGS += -D_XOPEN_SOURCE
16 # enable large file support (more than 2GiB) (bug#304626)
17 CFLAGS += -D_FILE_OFFSET_BITS=64
18
19 export DEB_CFLAGS_MAINT_APPEND = -Wall -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64
20
21 %:
22 dh $@
23
24 # move command to /usr/bin instead of /usr/sbin
25 override_dh_auto_install:
26 dh_auto_install
27 mkdir -p $(DESTDIR)/usr/bin
28 mv $(DESTDIR)/usr/sbin/cronolog $(DESTDIR)/usr/bin
29 mv $(DESTDIR)/usr/sbin/cronosplit $(DESTDIR)/usr/bin
30 rmdir $(DESTDIR)/usr/sbin
31
32 # delete "dir" file, auto-generated by install-info
33 override_dh_installinfo:
34 dh_installinfo
35 rm -f $(DESTDIR)/usr/share/info/dir $(DESTDIR)cronolog/usr/share/info/dir.old
36
37 # disable testing
38 override_dh_auto_test: