File: rules

package info (click to toggle)
ctklight 0.17.11-1
  • links: PTS
  • area: main
  • in suites: potato
  • size: 176 kB
  • ctags: 41
  • sloc: haskell: 514; makefile: 26; sh: 12
file content (36 lines) | stat: -rwxr-xr-x 1,199 bytes parent folder | download
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
# Written by Antti-Juhani Kaijanaho.
# You may treat this file as if it were in the public domain.
# (That does not give you the right to remove my name from it.)

librules_interface=1
librules_patch_support=yes
librules_patches=debian/ctkl.diff
include debian/librules.mk

hugs_extdir = $(rootdir)/usr/share/hugs98/extensions

debian/stamp/build:
	touch $@

debian/stamp/binary/indep: debian/stamp/binary/ctklight

debian/stamp/binary/ctklight: package=ctklight
debian/stamp/binary/ctklight: debian/stamp/build
	$(prebinary)
	$(install_nonex) README.CTKlight $(docdir)
	$(install_nonex) debian/README.Debian $(docdir)
	$(install_dir) $(hugs_extdir)
	$(install_nonex) BaseVersion.hs $(hugs_extdir)/CtklBaseVersion.hs
	$(install_nonex) Common.hs $(hugs_extdir)/CtklCommon.hs
	$(install_nonex) Config.hs $(hugs_extdir)/CtklConfig.hs
	$(install_nonex) DLists.hs $(hugs_extdir)/CtklDLists.hs
	$(install_nonex) Errors.hs $(hugs_extdir)/CtklErrors.hs
	$(install_nonex) Lexers.hs $(hugs_extdir)/CtklLexers.hs
	$(install_nonex) Parsers.hs $(hugs_extdir)/CtklParsers.hs
	$(install_nonex) Utils.hs $(hugs_extdir)/CtklUtils.hs
	$(postbinary)
	touch $@

clean:
	find . -name *~ | xargs rm -f