forked from cornelinux/yubikey-luks
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
31 lines (24 loc) · 826 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
info:
@echo "builddeb - building debian package for Ubuntu 14.04LTS"
@echo "ppa-dev - upload to ppa launchpad. Development"
@echo "ppa - upload to ppa launchpad. Stable"
VERSION=0.4
SRC_DIR = yubikey_luks.orig
debianize:
rm -fr DEBUILD
mkdir -p DEBUILD/${SRC_DIR}
cp -r * DEBUILD/${SRC_DIR} || true
(cd DEBUILD; tar -zcf yubikey-luks_${VERSION}.orig.tar.gz --exclude=${SRC_DIR}/debian ${SRC_DIR})
builddeb:
make debianize
(cd DEBUILD/${SRC_DIR}; debuild)
ppa-dev:
make debianize
(cd DEBUILD/${SRC_DIR}; debuild -S)
# Upload to launchpad:
dput ppa:privacyidea/privacyidea-dev DEBUILD/yubikey-luks_${VERSION}-?_source.changes
ppa:
make debianize
(cd DEBUILD/${SRC_DIR}; debuild -S)
# Upload to launchpad:
dput ppa:privacyidea/privacyidea DEBUILD/yubikey-luks_${VERSION}-?_source.changes