/[soft]/drakx/trunk/rescue/Makefile
ViewVC logotype

Contents of /drakx/trunk/rescue/Makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3081 - (show annotations) (download)
Sun Feb 26 17:10:20 2012 UTC (12 years, 8 months ago) by alien
File size: 1099 byte(s)
escape / in generated passwords & add trailing ; in command lists in startssh
1 include ../Makefile.config
2
3 VERSION=1.34
4 PRODUCT=drakx-installer-rescue
5
6 RESCUE = rescue.sqfs
7
8 all: $(RESCUE)
9
10 install: $(RESCUE)
11 cp -f $< $(STAGE2_DEST)
12
13 $(RESCUE): list.xml drvinst guessmounts lsparts rescue-doc make_rescue_img
14 DISTRIB_DESCR=$(DISTRIB_DESCR) ./make_rescue_img
15
16 dist-svn:
17 rm -rf $(PRODUCT)*.tar* $(PRODUCT)-$(VERSION)
18 mkdir -p $(PRODUCT)-$(VERSION)/tools
19 svn export -q -rBASE . $(PRODUCT)-$(VERSION)/rescue
20 cp ../Makefile.config $(PRODUCT)-$(VERSION)/
21 cp ../tools/install-xml-file-list $(PRODUCT)-$(VERSION)/tools
22 tar cfa $(PRODUCT)-$(VERSION).tar.xz $(PRODUCT)-$(VERSION)
23 rm -rf $(PRODUCT)-$(VERSION)
24
25 dist-git:
26 @cd ..; git archive --prefix=$(PRODUCT)-$(VERSION)/ HEAD rescue tools/install-xml-file-list Makefile.config | xz >$(PRODUCT)-$(VERSION).tar.xz;
27
28 tar:
29 rm -rf $(PRODUCT)*.tar* $(PRODUCT)-$(VERSION)
30 @if [ -e "../.svn" ]; then \
31 $(MAKE) dist-svn; \
32 elif [ -e "../.git" ]; then \
33 $(MAKE) dist-git; \
34 else \
35 echo "Unknown SCM (not SVN nor GIT)";\
36 exit 1; \
37 fi;
38 $(info $(PRODUCT)-$(VERSION).tar.xz is ready)
39
40 clean:
41 rm -f $(RESCUE) kernel_read_part

Properties

Name Value
svn:eol-style native

  ViewVC Help
Powered by ViewVC 1.1.30