1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
|
#!/usr/bin/make -f
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/cmake.mk
DEB_DBG_PACKAGES := tora-dbg
install/tora::
# remove some file we don't want to install
rm -f $(CURDIR)/debian/tmp/usr/share/doc/tora/README.OSX
rm -f $(CURDIR)/debian/tmp/usr/share/doc/tora/README.LICENSE
rm -f $(CURDIR)/debian/tmp/usr/share/doc/tora/README.WINDOWS
rm -f $(CURDIR)/debian/tmp/usr/share/doc/tora/INSTALL
rm -f $(CURDIR)/debian/tmp/usr/share/doc/tora/COPYING
rm -f $(CURDIR)/debian/tmp/usr/share/doc/tora/ChangeLog
rm -f $(CURDIR)/debian/tmp/usr/share/doc/tora/changelog
# this file cannot be installed by dh_install because it has to be renamed
-install --owner root --group root --mode=644 $(CURDIR)/src/icons/toramini.xpm $(CURDIR)/debian/tora/usr/share/icons/hicolor/16x16/apps/tora.xpm
# we have a desktop file
-install --owner root --group root --mode=644 $(CURDIR)/debian/tora.desktop $(CURDIR)/debian/tora/usr/share/applications
|