File: rules

package info (click to toggle)
linuxdcpp 1.1.0-1
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd, wheezy
  • size: 4,492 kB
  • ctags: 4,874
  • sloc: cpp: 34,798; python: 235; makefile: 13
file content (22 lines) | stat: -rwxr-xr-x 881 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

include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/class/scons.mk

# In order to regenerate 'debian/control' :
#   DEB_AUTO_UPDATE_DEBIAN_CONTROL=yes fakeroot debian/rules clean
# Then check manually if everything's ok

DEB_INSTALL_MANPAGES_linuxdcpp := data/linuxdcpp.1
DEB_INSTALL_CHANGELOGS_linuxdcpp := Changelog.txt
DEB_SCONS_OPTIONS := release=1 PREFIX=/usr FAKE_ROOT=$(CURDIR)/debian/linuxdcpp

install/linuxdcpp::
	rm -rf $(CURDIR)/debian/linuxdcpp/usr/share/doc/linuxdcpp/License.txt 
	cp -rf $(CURDIR)/debian/icons/* $(CURDIR)/debian/linuxdcpp/usr/share/pixmaps
	cp $(CURDIR)/data/linuxdcpp.desktop $(CURDIR)/debian/linuxdcpp/usr/share/applications
	cp $(CURDIR)/data/magnet.protocol $(CURDIR)/debian/linuxdcpp/usr/share/services

clean::
	rm -rf build linuxdcpp po/linuxdcpp.pot