blob: 944f16cb012a822da2f73235b9844eb6c2956308 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
prefix = /usr/local
perl_version = 5.10.0
perl_lib = lib/perl
build/Simplestore.3pm: lib/Simplestore.pm
mkdir -p build
pod2man $< > $@
install: build/Simplestore.3pm
mkdir -p $(prefix)/$(perl_lib)/$(perl_version) $(prefix)/share/man/man3
cp lib/Simplestore.pm $(prefix)/$(perl_lib)/$(perl_version)
cp build/Simplestore.3pm $(prefix)/share/man/man3
chmod 644 $(prefix)/$(perl_lib)/$(perl_version)/Simplestore.pm
chmod 644 $(prefix)/share/man/man3/Simplestore.3pm
uninstall:
rm -f $(prefix)/$(perl_lib)/$(perl_version)/Simplestore.pm
rm -f $(prefix)/share/man/man1/Simplestore.3pm
clean:
rm -rf build
.PHONY: install uninstall clean
|