File: rules

package info (click to toggle)
ragel 6.10-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 4,744 kB
  • sloc: cpp: 47,127; ansic: 5,143; sh: 1,905; makefile: 191; ruby: 189
file content (31 lines) | stat: -rwxr-xr-x 789 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
#!/usr/bin/make -f

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- --enable-manual

override_dh_auto_build:
	dh_auto_build
	dh_auto_build --sourcedirectory=doc

override_dh_auto_clean:
	dh_auto_clean
	rm -rf build-stamp Makefile config.log config.status test/Makefile test/runtests aapl/Makefile contrib/Makefile doc/Makefile doc/ragel.1 ragel/.deps ragel/Makefile ragel/config.h ragel/stamp-h1 doc/ragel-guide.pdf

override_dh_install:
	dh_install
	dh_install ragel.vim /usr/share/vim/addons/syntax/
	dh_install debian/ragel.yaml /usr/share/vim/registry/

override_dh_installexamples:
	make -C $(CURDIR)/examples distclean
	dh_installexamples

override_dh_installdocs:
	dh_installdocs -n
	dh_installdocs -n doc/ragel-guide.pdf

override_dh_compress:
	dh_compress -Xexamples