Makefile 703 Bytes
Newer Older
EclipseSpark's avatar
EclipseSpark committed
1
2
3
4
5
all:

clean:

install:
Lorenzo "Palinuro" Faletra's avatar
Lorenzo "Palinuro" Faletra committed
6
7
	mkdir -p $(DESTDIR)/etc/apt/preferences.d/
	mkdir -p $(DESTDIR)/etc/apt/sources.list.d
8
9
10
11
12
13
14
15
16
17
18
19
20
21
	mkdir -p $(DESTDIR)/usr/bin
	
	cp preferences.d/parrot-pinning $(DESTDIR)/etc/apt/preferences.d/parrot-pinning
	cp sources.list.parrot $(DESTDIR)/etc/apt/sources.list.parrot
	cp parrot-mirror-selector $(DESTDIR)/usr/bin/parrot-mirror-selector
	
	chown root:root $(DESTDIR)/etc/apt/sources.list.parrot
	chmod 644 $(DESTDIR)/etc/apt/sources.list.parrot
	
	chown root:root $(DESTDIR)/etc/apt/preferences.d/parrot-pinning
	chmod 644 $(DESTDIR)/etc/apt/preferences.d/parrot-pinning
	
	chown root:root $(DESTDIR)/usr/bin/parrot-mirror-selector
	chmod 755 $(DESTDIR)/usr/bin/parrot-mirror-selector