forked from kph/platina-repos
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
36 lines (25 loc) · 992 Bytes
/
Makefile
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
29
30
31
32
33
34
35
36
INSTALL=/usr/bin/install
APTKEY=platina_io_goes_debian_keyring.gpg
KEYRING=platina-keyring.gpg
SOURCE=platina_io_goes_debian.list
GPG=/usr/bin/gpg --no-options --no-default-keyring --keyring ./$(KEYRING)
all: platina-keys platina-sources
platina-keys:
rm -f $(APTKEY) $(KEYRING)
$(GPG) --import gpg/*.key gpg/*.asc
$(GPG) --export > $(APTKEY)
platina-sources:
echo "deb https://platina.io/goes/debian buster-unstable main" > $(SOURCE)
install:
# $(INSTALL) -d $(DESTDIR)/etc/apt/sources.list.d
# $(INSTALL) -d $(DESTDIR)/etc/apt/trusted.gpg.d
# $(INSTALL) -m 0444 $(SOURCE) $(DESTDIR)/etc/apt/sources.list.d
# $(INSTALL) -m 0444 $(APTKEY) $(DESTDIR)/etc/apt/trusted.gpg.d
clean:
rm -f $(APTKEY) $(KEYRING)
distclean:
rm -f debian/debhelper-build-stamp debian/files debian/*.substvars
rm -rf debian/.debhelper debian/platina-archive-keyring
bindeb-pkg:
debuild -us -uc --lintian-opts --profile debian
.PHONY: platina-keys platina-sources install clean distclean bindeb-pkg