File: rules

package info (click to toggle)
xdg-user-dirs 0.15-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, stretch
  • size: 1,584 kB
  • ctags: 79
  • sloc: sh: 4,553; ansic: 1,085; xml: 374; makefile: 81; sed: 16
file content (22 lines) | stat: -rwxr-xr-x 635 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

TARBALL_EXT=tar.gz
GNOME_DOWNLOAD_URL = http://user-dirs.freedesktop.org/releases/$(GNOME_TARBALL)

include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/autotools.mk
include /usr/share/gnome-pkg-tools/1/rules/uploaders.mk
-include /usr/share/gnome-pkg-tools/1/rules/gnome-get-source.mk

LDFLAGS+=-Wl,-z,defs -Wl,-O1 -Wl,--as-needed

binary-post-install/xdg-user-dirs::
	mkdir -p debian/xdg-user-dirs/etc/X11/Xsession.d
	cp debian/xdg-user-dirs-Xsession \
		debian/xdg-user-dirs/etc/X11/Xsession.d/60xdg-user-dirs-update

build/xdg-user-dirs::
	make -C po update-gmo

clean::
	rm -f po/*.gmo