- Added a proper Makefile.PL to SCST::SCST so now we have a also a
[mirror/scst/.git] / scstadmin / Makefile
1 VERSION = 0.7.4
2 TOOL = scstadmin
3
4 all: perl-module
5
6 install:
7         install -m 755 $(TOOL) /usr/local/sbin
8         install -m 755 init.d/scst /etc/init.d
9         $(MAKE) -C scst-$(VERSION) install
10
11 uninstall:
12         -rm -f /etc/init.d/scst
13         -rm -f /usr/local/sbin/$(TOOL)
14         $(MAKE) -C scst-$(VERSION) uninstall
15
16 perl-module:
17         @cd ./scst-$(VERSION); \
18         perl Makefile.PL;
19         $(MAKE) -C scst-$(VERSION)
20
21 clean:
22         $(MAKE) -C scst-$(VERSION) clean
23
24 distclean:
25         $(MAKE) -C scst-$(VERSION) clean
26         -rm -f scst-$(VERSION)/Makefile.old
27
28 .PHONY: all install uninstall