Blame
Date:
Mon Mar 6 21:47:44 2017 UTC
Message:
Take care of removed /etc/pkg.conf (thuban patch)
01
2016-05-15
dev1
# snaps - play with OpenBSD snapshots
02
2016-05-15
dev1
# See LICENSE for copyright
03
2016-05-15
dev1
04
2016-10-19
dev1
VERSION=1.0.1
05
2016-05-15
dev1
06
2016-05-15
dev1
PREFIX=/usr/local
07
2016-05-15
dev1
08
2016-10-19
dev1
changelog:
09
2016-10-19
dev1
@echo writing ChangeLog
10
2016-10-19
dev1
@git log --oneline --decorate > ChangeLog
11
2016-10-19
dev1
12
2016-10-19
dev1
man_clean:
13
2016-10-19
dev1
@echo cleaning snaps.1
14
2016-10-19
dev1
@rm -f snaps.1
15
2016-10-19
dev1
16
2016-10-19
dev1
man: man_clean
17
2016-10-19
dev1
@echo creating man page
18
2016-10-19
dev1
@txt2tags snaps.t2t
19
2016-10-19
dev1
20
2016-10-19
dev1
tarball: man
21
2016-05-15
dev1
@echo creating tarball
22
2016-05-15
dev1
@mkdir -p snaps-${VERSION}
23
2016-10-19
dev1
@cp -R AUTHORS LICENSE ChangeLog Makefile README.md snaps.t2t snaps.1 snaps snaps-${VERSION}
24
2016-05-15
dev1
@tar czvf snaps-${VERSION}.tar.gz snaps-${VERSION}
25
2016-05-15
dev1
@rm -rf snaps-${VERSION}
26
2016-05-15
dev1
27
2016-05-15
dev1
install:
28
2016-05-15
dev1
@echo installing executable file to ${DESTDIR}${PREFIX}/bin
29
2016-05-15
dev1
@mkdir -p ${DESTDIR}${PREFIX}/bin
30
2016-05-15
dev1
@cp -f snaps ${DESTDIR}${PREFIX}/bin
31
2016-05-15
dev1
@chmod 755 ${DESTDIR}${PREFIX}/bin/snaps
32
2016-10-19
dev1
@echo installing man page to ${DESTDIR}${PREFIX}/usr/local/man/man1
33
2016-10-19
dev1
@mkdir -p ${DESTDIR}${PREFIX}/usr/local/man/man1
34
2016-10-19
dev1
@cp -f snaps.1 ${DESTDIR}${PREFIX}/usr/local/man/man1
35
2016-10-19
dev1
@chmod 444 ${DESTDIR}${PREFIX}/usr/local/man/man1/snaps.1
36
2016-05-15
dev1
37
2016-05-15
dev1
uninstall:
38
2016-05-15
dev1
@echo removing executable file from ${DESTDIR}${PREFIX}/bin
39
2016-05-15
dev1
@rm -f ${DESTDIR}${PREFIX}/bin/snaps
40
2016-10-19
dev1
@echo removing man page from ${DESTDIR}${PREFIX}/usr/local/man/man1
41
2016-10-19
dev1
@rm -f ${DESTDIR}${PREFIX}/usr/local/man/man1/snaps.1
42
2016-05-15
dev1
43
2016-10-19
dev1
.PHONY: man_clean man tarball install uninstall
44
2016-05-15
dev1
Frédéric Galusik