Преглед изворни кода

0.20 -> 0.21, and make it a bit smarter regarding the 'newrelease' dir.

Morten Brix Pedersen пре 25 година
родитељ
комит
840cc6c1f9
1 измењених фајлова са 4 додато и 5 уклоњено
  1. 4 5
      Makefile

+ 4 - 5
Makefile

@@ -1,6 +1,6 @@
-# Simple Makefile to make new releases of pisg (newreleases dir must exist)
+# Simple Makefile to make new releases of pisg
 
-VERSION = 0.20
+VERSION = 0.21
 
 DIRNAME = pisg-$(VERSION)
 
@@ -36,6 +36,7 @@ ADDALIAS = scripts/addalias/addalias.htm \
 	    scripts/addalias/README
 
 pisg:
+	mkdir -p newrelease
 	mkdir $(DIRNAME)
 	cp $(FILES) $(DIRNAME)
 	mkdir $(DIRNAME)/scripts
@@ -49,6 +50,4 @@ pisg:
 	mv pisg.zip newrelease/$(ZIPFILE)
 	mv $(DIRNAME) newrelease
 clean:
-	rm -r newrelease/$(DIRNAME)
-	rm newrelease/$(TARFILE)
-	rm newrelease/$(ZIPFILE)
+	rm -r newrelease/