1
# Edit this file to configure debian/rules to build a package.
2
# No modification of debian/rules should be neccessary. (Famous last words!)
4
# Copied from setup by Joey Hess <jeh22@cornell.edu>
6
# What is the name of this package?
9
# Files that go in directories under /doc.
12
copyright=debian/copyright
14
# List here all executables that are produced, that we should run
18
# What file must exist in the current directory if the package is
19
# properly unpacked here?
22
# Does this package build from an Imakefile?
23
# If so, uncomment the line below.
26
# Does this package build from a Configure script?
27
# If so, uncomment the line below and enter the command to run to run the
28
# Configure script (ie: "./Configure")
29
#use_configure=./Configure
31
# What commands to run to build the package?
36
# What commands to run to clean up after a build?
41
# List here any files that must be removed during "debian/rules clean"
42
# that clean_command doesn't take care of.
45
# List here any files that should be preserved during a build, and restored
46
# to their original state during a clean. For example, if the package comes
47
# with both an Imakefile and a Makefile, and xmkmf is run, list the original
48
# Makefile here so it will be backed up before it is overwritten by xmkmf.
49
preserve_files=Makefile
51
# What command to run to install the package into debian/tmp?
52
# You might want to edit the package's Makefile and add $(PREFIX)
53
# to all the paths it installs files to. or, you can just write
54
# your own install commands here instead.
56
# Note that debian/* and the files in /usr/share/doc will be installed
57
# properly for you, you don't need to do that here.
59
define install_command
60
install -d debian/tmp/usr/games
61
install -s pacman debian/tmp/usr/games
62
install -d debian/tmp/usr/lib/menu
63
install -m 644 debian/menu debian/tmp/usr/lib/menu/pacman
64
install -d debian/tmp/usr/share/man/man6
65
install -m 644 pacman.man debian/tmp/usr/share/man/man6/pacman.6
68
# After being installed in debian/tmp, everything is chowned to root.root,
69
# and chmod g-ws is run on everything. Enter below any chmod commands you
70
# need to run to set files to the proper permissions. This is where you
71
# can make programs be suid, etc.
72
# (Note that these commands will be run as root.)