7e3afbba |
1 | # Edit this file to configure debian/rules to build a package. |
2 | # No modification of debian/rules should be neccessary. (Famous last words!) |
3 | # |
4 | # File by Joey Hess <joeyh@master.debian.org> |
5 | |
6 | # What is the name of this package? |
7 | package=filters |
8 | |
9 | # Files that go in directories under /doc. |
10 | docs=README ky00te.dir/README.ky00te SAMPLES |
11 | copyright=debian/copyright |
12 | |
13 | # What file must exist in the current directory if the package is |
14 | # properly unpacked here? |
15 | test_file=makesample.sh |
16 | |
17 | # Does this package build from an Imakefile? |
18 | # If so, uncomment the line below. |
19 | #use_imakefile=y |
20 | |
21 | # Does this package build from a Configure script? |
22 | # If so, uncomment the line below and enter the command to run to run the |
23 | # Configure script (ie: "./Configure") |
24 | #use_configure=./Configure |
25 | |
26 | # What commands to run to build the package? |
27 | define build_command |
28 | $(MAKE) |
29 | $(MAKE) samples |
30 | endef |
31 | |
32 | # What commands to run to clean up after a build? |
33 | define clean_command |
34 | -$(MAKE) -i clean |
35 | endef |
36 | |
37 | # List here any files that must be removed during "debian/rules clean" |
38 | # that clean_command doesn't take care of. |
39 | clean_files= |
40 | |
41 | # List here any files that should be preserved during a build, and restored |
42 | # to their original state during a clean. For example, if the package comes |
43 | # with both an Imakefile and a Makefile, and xmkmf is run, list the original |
44 | # Makefile here so it will be backed up before it is overwritten my xmkmf. |
45 | preserve_files= |
46 | |
47 | # What command to run to install the package into debian/tmp? |
48 | # You might want to edit the package's Makefile and add $(PREFIX) |
49 | # to all the paths it installs files to. or, you can just write |
50 | # your own install commands here instead. |
51 | # |
52 | # Note that debian/* and the files in /usr/doc will be installed |
53 | # properly for you, you don't need to do that here. |
54 | # |
55 | define install_command |
56 | $(MAKE) PREFIX=debian/tmp install |
57 | endef |
58 | |
59 | # After being installed in debian/tmp, everything is chowned to root.root, |
60 | # and chmod g-ws is run on everyything. Enter below any chmod commands you |
61 | # need to run to set files to the proper permissions. This is where you |
62 | # can make programs be suid, etc. |
63 | # (Note that these commands will be run as root.) |
64 | define ch_commands |
65 | endef |