Browse Source

added .gitignore, added fetch target

master
Olaf Rempel 12 years ago
parent
commit
8ce7e48bae
2 changed files with 15 additions and 1 deletions
  1. 5
    0
      .gitignore
  2. 10
    1
      Makefile

+ 5
- 0
.gitignore View File

@@ -0,0 +1,5 @@
1
+download/eaccelerator*
2
+download/httpd*
3
+#download/mod_rpaf*
4
+download/php*
5
+source

+ 10
- 1
Makefile View File

@@ -24,7 +24,7 @@ DOWNLOAD_RPAF=http://stderr.net/apache/rpaf/download/$(PACKAGE_RPAF)
24 24
 SOURCE_RPAF=$(_SOURCES)/mod_rpaf-0.5
25 25
 
26 26
 PACKAGE_PHP4=php-4.4.4.tar.bz2
27
-DOWNLOAD_PHP4=http://de3.php.net/get/$(PACKAGE_PHP4)/from/de.php.net/mirror
27
+DOWNLOAD_PHP4=http://de3.php.net/get/$(PACKAGE_PHP4)/from/this/mirror
28 28
 SOURCE_PHP4=$(_SOURCES)/php-4.4.4
29 29
 
30 30
 PACKAGE_EACCELERATOR=eaccelerator-0.9.5.tar.bz2
@@ -35,10 +35,16 @@ SOURCE_EACCELERATOR=$(_SOURCES)/eaccelerator-0.9.5
35 35
 
36 36
 all: apache2-fe apache2-be
37 37
 
38
+fetch: $(_DOWNLOADS)/$(PACKAGE_APACHE2) \
39
+    $(_DOWNLOADS)/$(PACKAGE_RPAF) \
40
+    $(_DOWNLOADS)/$(PACKAGE_PHP4) \
41
+    $(_DOWNLOADS)/$(PACKAGE_EACCELERATOR)
42
+    
38 43
 $(_DOWNLOADS)/$(PACKAGE_APACHE2):
39 44
 	$(WGET) -P $(_DOWNLOADS) $(DOWNLOAD_APACHE2)
40 45
 
41 46
 $(SOURCE_APACHE2)/.unpacked: $(_DOWNLOADS)/$(PACKAGE_APACHE2)
47
+	mkdir -p $(SOURCE_APACHE2)
42 48
 	tar -C $(_SOURCES) -xjf $(_DOWNLOADS)/$(PACKAGE_APACHE2)
43 49
 	touch $@
44 50
 
@@ -46,6 +52,7 @@ $(_DOWNLOADS)/$(PACKAGE_RPAF):
46 52
 	$(WGET) -P $(_DOWNLOADS) $(DOWNLOAD_RPAF) 
47 53
 
48 54
 $(SOURCE_RPAF)/.unpacked: $(_DOWNLOADS)/$(PACKAGE_RPAF)
55
+	mkdir -p $(SOURCE_RPAF)
49 56
 	tar -C $(_SOURCES) -xzf $(_DOWNLOADS)/$(PACKAGE_RPAF)
50 57
 	touch $@
51 58
 
@@ -53,6 +60,7 @@ $(_DOWNLOADS)/$(PACKAGE_PHP4):
53 60
 	$(WGET) -P $(_DOWNLOADS) $(DOWNLOAD_PHP4)
54 61
 
55 62
 $(SOURCE_PHP4)/.unpacked: $(_DOWNLOADS)/$(PACKAGE_PHP4)
63
+	mkdir -p $(SOURCE_PHP4)
56 64
 	tar -C $(_SOURCES) -xjf $(_DOWNLOADS)/$(PACKAGE_PHP4)
57 65
 	touch $@
58 66
 
@@ -60,6 +68,7 @@ $(_DOWNLOADS)/$(PACKAGE_EACCELERATOR):
60 68
 	$(WGET) -P $(_DOWNLOADS) $(DOWNLOAD_EACCELERATOR)
61 69
 
62 70
 $(SOURCE_EACCELERATOR)/.unpacked: $(_DOWNLOADS)/$(PACKAGE_EACCELERATOR)
71
+	mkdir -p $(SOURCE_EACCELERATOR)
63 72
 	tar -C $(_SOURCES) -xjf $(_DOWNLOADS)/$(PACKAGE_EACCELERATOR)
64 73
 	touch $@
65 74
 

Loading…
Cancel
Save