File: rules

package info (click to toggle)
whizzytex 1.5.0-0.1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 6,536 kB
  • sloc: lisp: 3,668; sh: 1,768; makefile: 227
file content (36 lines) | stat: -rwxr-xr-x 1,064 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#!/usr/bin/make -f
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

%:
	dh $@

override_dh_auto_configure:
	cp $(CURDIR)/debian/Makefile.config $(CURDIR)/
	$(MAKE) config.force

override_dh_auto_build:
	dh_auto_build
	LC_ALL=C LANG=C $(MAKE) -C doc whizzytex.html whizzytex.info

override_dh_auto_install:
	dh_auto_install
	rm -f "$(CURDIR)/debian/whizzytex/usr/share/doc/whizzytex/COPYING" \
              "$(CURDIR)/debian/whizzytex/usr/share/doc/whizzytex/GPL" \
              "$(CURDIR)/debian/whizzytex/usr/share/doc/whizzytex/INSTALL"

override_dh_clean:
	dh_clean -Xexamples/*

override_dh_installinfo:
	dh_installinfo -v $(CURDIR)/doc/whizzytex.info $(CURDIR)/doc/whizzytex.info-[1-9]

override_dh_installchangelogs:
	dh_installchangelogs CHANGES

# eval this in emacs: (shell-command "cd ../ && debian/rules getfaq")
getfaq:
	-rm -f debian/FAQ-new.html
	wget http://cristal.inria.fr/whizzytex/FAQ.html -O debian/FAQ-new.html && \
	mv debian/FAQ-new.html debian/FAQ.html
	dch -a "updated FAQ from http://cristal.inria.fr/whizzytex/FAQ.html"