File: rules

package info (click to toggle)
tkcvs 8.2.3-6
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 2,604 kB
  • sloc: tcl: 24,466; sh: 280; perl: 166; makefile: 21
file content (27 lines) | stat: -rwxr-xr-x 792 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
#!/usr/bin/make -f

%:
	dh $@

execute_after_dh_clean:
	-rm -fv tkcvs/tkcvs

override_dh_install:
	dh_install debian/tkcvs.desktop usr/share/applications
	dh_install debian/tkcvs.xpm usr/share/pixmaps
	cp tkcvs/tkcvs.tcl debian/tkcvs/usr/bin/tkcvs
	cp tkdiff/tkdiff debian/tkcvs/usr/bin/tkdiff
	sed -e '1s:wish8\..*:wish:' \
	        contrib/tkdirdiff >debian/tkcvs/usr/bin/tkdirdiff
	chmod +x debian/tkcvs/usr/bin/tkcvs
	cp -r tkcvs/bitmaps debian/tkcvs/usr/share/tkcvs
	cp tkcvs/*.tcl tkcvs/tclIndex \
	  debian/tkcvs/usr/share/tkcvs
	mv debian/tkcvs/usr/share/tkcvs/tkcvs_def.tcl debian/tkcvs/etc/tkcvs/
	chmod +x debian/tkcvs/usr/bin/tkdirdiff

override_dh_installchangelogs:
	dh_installchangelogs CHANGELOG.txt

execute_after_dh_fixperms:
	chmod u+w debian/tkcvs/etc/tkcvs/tkcvs_def.tcl