File: rules

package info (click to toggle)
rss-glx 0.9.1-6
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 11,992 kB
  • ctags: 2,613
  • sloc: cpp: 20,390; sh: 10,126; ansic: 4,037; xml: 680; makefile: 135; perl: 54
file content (28 lines) | stat: -rwxr-xr-x 1,053 bytes parent folder | download | duplicates (3)
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
#!/usr/bin/make -f
# -*- makefile -*-
# Sample debian/rules that uses debhelper.
# This file was originally written by Joey Hess and Craig Small.
# As a special exception, when this file is copied by dh-make into a
# dh-make output file, you may use that output file without restriction.
# This special exception was added by Craig Small in version 0.37 of dh-make.

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

%:
	dh $@ --with=autoreconf

override_dh_auto_configure:
	dh_auto_configure -- --with-configdir=/usr/share/xscreensaver/config \
		--with-kdessconfigdir=/usr/share/kde4/services/ScreenSavers \
		--bindir=/usr/lib/xscreensaver --enable-static=no \
		LDFLAGS=-Wl,--as-needed

override_dh_auto_install:
	dh_auto_install
	mv $(CURDIR)/debian/rss-glx/usr/lib/xscreensaver/rss-glx_install.pl \
		$(CURDIR)/debian/rss-glx/usr/bin/rss-glx_install
	cp $(CURDIR)/debian/desktop_files/*.desktop \
		$(CURDIR)/debian/rss-glx/usr/share/applications/screensavers
	# remove static libraries:
	rm $(CURDIR)/debian/rss-glx/usr/lib/lib*.*a