summaryrefslogtreecommitdiffstats
path: root/Makefile
blob: 9259b90ecd75f9cf224633202bd7d5091d581bcc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
FPACKAGE = smartcardauth
VERSION = 1.0

build:

clean:

install:
	sed -i "s#scriptor#scriptor_standalone#g" scriptor_standalone.pl
	/usr/bin/pp -a /usr/lib/perl5/Chipcard -a /usr/lib/perl5/Chipcard -o scriptor_standalone scriptor_standalone.pl
	rm scriptor_standalone.pl
	mv scriptor_standalone usr/bin/scriptor_standalone

	./build_ckpasswd

	mkdir -p $(DESTDIR)/usr
	cp -Rp src/ckpasswd usr/bin/smartauthckpasswd
	cp -Rp src/smartauthmon usr/bin/smartauthmon
	cp -Rp usr/*  $(DESTDIR)/usr/

	mkdir -p $(DESTDIR)/etc
	cp -Rp etc/*  $(DESTDIR)/etc/