summaryrefslogtreecommitdiffstats
path: root/Makefile
blob: 2301ea0b4f619e20b1868b49565184ddb72844c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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 src/smartauth_displayfinder usr/bin/smartauth_displayfinder
	cp -Rp usr/*  $(DESTDIR)/usr/

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