File: rules

package info (click to toggle)
atl2 2.0.5-1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 192 kB
  • ctags: 766
  • sloc: ansic: 2,908; makefile: 45
file content (23 lines) | stat: -rwxr-xr-x 695 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
#!/usr/bin/make -f
  
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/rules/simple-patchsys.mk

install/atl2-source::
	# Enforce executable bit on debian/rules, and create directory
	# structure for modules source
	install -D -m 0755 debian/rules.modules \
		debian/tmp/modules/atl2/debian/rules
	
	# Prepare the other debian stuff
	for f in *.modules.in control compat copyright changelog; do \
		install -m 0644 debian/$$f \
			debian/tmp/modules/atl2/debian/; \
	done
	
	# Prepare upstream source
	install -m 0644 Makefile *.[ch] debian/tmp/modules/atl2/
	
	# Prepare the debian source tarball
	tar jcf debian/atl2-source/usr/src/atl2.tar.bz2 \
		-C debian/tmp modules