File: rules

package info (click to toggle)
openuniverse 1.0beta3.1%2Bdfsg-6.1
  • links: PTS
  • area: main
  • in suites: bullseye
  • size: 6,108 kB
  • sloc: cpp: 6,600; ansic: 3,439; yacc: 412; sh: 330; perl: 128; lex: 93; makefile: 59
file content (30 lines) | stat: -rwxr-xr-x 939 bytes parent folder | download | duplicates (2)
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
#!/usr/bin/make -f
# Sample tmp/rules that uses debhelper. 
# GNU copyright 1997 by Joey Hess.
#
# This version is for a hypothetical package that builds an
# architecture-dependant package, as well as an architecture-independent
# package.

# Uncomment this to turn on verbose mode. 
# export DH_VERBOSE=1


%:
	dh $@
# This has to be exported to make some magic below work.
export DH_OPTIONS

build: build-stamp
build-stamp:
	dh_testdir

override_dh_auto_build:
	CXXFLAGS="-I/usr/include/plib/" LIBS="-lplibfnt -lplibul -lglut" ./configure --prefix= --exec_prefix=/usr --mandir=\$${exec_prefix}/share/man --infodir=\$${exec_prefix}/share/info --sysconfdir=\$${prefix}/etc/ --includedir=\$${exec_prefix}/include --datadir=\$${exec_prefix}/share
	$(MAKE)


override_dh_fixperms-arch:
	dh_fixperms
	chgrp games `pwd`/debian/openuniverse/var/games/openuniverse/scrshots
	chmod g+ws  `pwd`/debian/openuniverse/var/games/openuniverse/scrshots