File: rules

package info (click to toggle)
nwg-hello 0.4.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,696 kB
  • sloc: python: 668; sh: 67; makefile: 15
file content (18 lines) | stat: -rwxr-xr-x 759 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/make -f

%:
	dh $@ --buildsystem=pybuild

DESTDIR = $(CURDIR)/debian/nwg-hello
execute_after_dh_auto_install:
	install -d $(DESTDIR)/etc/nwg-hello/
	install -d $(DESTDIR)/usr/share/nwg-hello/
	install -D -m 644 -t $(DESTDIR)/etc/nwg-hello/ nwg-hello-default.json
	install -D -m 644 -t $(DESTDIR)/etc/nwg-hello/ nwg-hello-default.css
	install -D -m 644 -t $(DESTDIR)/usr/share/nwg-hello/ hyprland.conf
	install -D -m 644 -t $(DESTDIR)/usr/share/nwg-hello/ sway-config
	install -D -m 644 -t $(DESTDIR)/etc/nwg-hello/ README
	install -D -m 644 -t $(DESTDIR)/usr/share/nwg-hello/ nwg.jpg
	install -D -m 644 -t $(DESTDIR)/usr/share/nwg-hello/ img/*
	install -d $(DESTDIR)/var/cache/nwg-hello
	install -Dm644 -t $(DESTDIR)/var/cache/nwg-hello cache.json