blob: 2a44b07f466a2734896529c4e3926ac32b9135a1 (
plain)
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
30
31
32
33
34
35
36
|
NAME = mgatools
VERSION=0.1
ALL =
PERL_VENDORLIB=$(shell eval "`perl -V:installvendorlib`"; echo $$installvendorlib)
install: $(ALL)
install -d $(DESTDIR)/usr/bin
install mgaiso-addmd5 $(DESTDIR)/usr/bin
install mgaiso-checkmd5 $(DESTDIR)/usr/bin
install clean-rpmsrate $(DESTDIR)/usr/bin
install mga-hdlists $(DESTDIR)/usr/bin
install mga-hdlists-cauldron $(DESTDIR)/usr/bin
install mga-hdlists-updates $(DESTDIR)/usr/bin
install mga-hdlists-backports $(DESTDIR)/usr/bin
install mga-move-pkg $(DESTDIR)/usr/bin
install -d $(DESTDIR)/$(PERL_VENDORLIB)/MGATools
for i in rpmsrate.pm iso.pm; do install pm/MGATools/$$i $(DESTDIR)/$(PERL_VENDORLIB)/MGATools/; done
localdist: dist
clean:
-rm -f *~
cleandist: clean
rm -rf $(NAME)-$(VERSION) $(NAME)-$(VERSION).tar.xz
tar:
tar cJf $(NAME)-$(VERSION).tar.xz $(NAME)-$(VERSION)
rm -rf $(NAME)-$(VERSION)
dist: cleandist export tar
export:
svn export -q -rBASE . $(NAME)-$(VERSION)
|