File: rules

package info (click to toggle)
skippy 0.5.1rc1-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 228 kB
  • ctags: 264
  • sloc: ansic: 2,316; makefile: 36; sh: 1
file content (22 lines) | stat: -rwxr-xr-x 824 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
#!/usr/bin/make -f
# -*- makefile -*-

include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/makefile.mk
include /usr/share/cdbs/1/rules/simple-patchsys.mk

DEB_MAKE_INVOKE		:= CFLAGS="$(CFLAGS)" make 
DEB_MAKE_CLEAN_TARGET   := clean
DEB_MAKE_BUILD_TARGET   := all
DEB_MAKE_INSTALL_TARGET := install DESTDIR=$(CURDIR)/debian/skippy/ PREFIX=/usr/
DEB_INSTALL_MANPAGES_skippy	     := debian/skippyrc.1

install/skippy::
	mkdir -p $(CURDIR)/debian/skippy/etc/X11/skippy/
	mkdir -p $(CURDIR)/debian/skippy/usr/share/doc/skippy/

	cp -a $(CURDIR)/skippyrc-default \
		$(CURDIR)/debian/skippy/etc/X11/skippy/skippyrc
	cp -a $(CURDIR)/debian/examples \
		$(CURDIR)/debian/skippy/usr/share/doc/skippy
	cat $(CURDIR)/skippyrc-default >>  $(CURDIR)/debian/skippy/usr/share/doc/skippy/examples/skippyrc-default