File: Makefile

package info (click to toggle)
apt-dater-host 1.0.1-3
  • links: PTS
  • area: main
  • in suites: bullseye, sid
  • size: 280 kB
  • sloc: perl: 1,202; sh: 151; makefile: 26
file content (19 lines) | stat: -rw-r--r-- 515 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
clean:
	

install:
	mkdir -p $(DESTDIR)/usr/bin
	cp apt-dater-host $(DESTDIR)/usr/bin
	
	mkdir -p $(DESTDIR)/etc
	cp apt-dater-host.conf $(DESTDIR)/etc
	
	mkdir -p $(DESTDIR)/etc/kernel/postinst.d
	cp scripts/apt-dater-host_reboot $(DESTDIR)/etc/kernel/postinst.d
	
	mkdir -p $(DESTDIR)/etc/apt/apt.conf.d
	cp scripts/99apt-dater-host_periodic $(DESTDIR)/etc/apt/apt.conf.d

	mkdir -p $(DESTDIR)/etc/sudoers.d
	cp scripts/apt-dater-host $(DESTDIR)/etc/sudoers.d/
	chmod 0440 $(DESTDIR)/etc/sudoers.d/apt-dater-host