Debian Codegraph @

debian/rules

raw symbols SCIP
1 #!/usr/bin/make -f
2 # -*- makefile -*-
3
4 %:
5 dh $@
6
7 DESTDIR=debian/daptup
8 TRANSLATIONS=$(shell ls -1 po | sed 's/\..*//')
9
10 override_dh_install:
11 # installing translations
12 for translation in $(TRANSLATIONS); do \
13 TRANSLATE_DESTDIR=$(DESTDIR)/usr/share/locale/$${translation}/LC_MESSAGES; \
14 install -d -m 0755 $$TRANSLATE_DESTDIR; \
15 msgfmt "po/$${translation}.po" -o $$TRANSLATE_DESTDIR/daptup.mo; \
16 done
17
18 dh_install -i
19
20 # renaming apt hook
21 mv $(DESTDIR)/etc/apt/apt.conf.d/hook-for-apt $(DESTDIR)/etc/apt/apt.conf.d/11daptup