-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMakefile
More file actions
executable file
·32 lines (26 loc) · 776 Bytes
/
Copy pathMakefile
File metadata and controls
executable file
·32 lines (26 loc) · 776 Bytes
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
#!/usr/bin/make -f
# -*- makefile -*-
VERSION:=$(shell git describe --tags | sed -e s/_/~/ -e s/-/+/ -e s/-/~/ -e 's|.*/||')
.PHONY: all
all: assword.1
.PHONY: test
test:
./test/assword-test $(TEST_OPTS)
assword.1: assword
alias assword="python3 -m assword"; \
help2man assword \
-N -n 'Simple and secure password management system' \
--include=assword.1.additional \
-o $@
.PHONY: clean
clean:
rm -f assword.1
.PHONY: debian-snapshot
debian-snapshot:
rm -rf build/deb
mkdir -p build/deb/debian
git archive HEAD | tar -x -C build/deb/
git archive debian:debian | tar -x -C build/deb/debian/
cd build/deb; dch -b -v $(VERSION) -D UNRELEASED 'test build, not for upload'
cd build/deb; echo '3.0 (native)' > debian/source/format
cd build/deb; debuild -us -uc