Permalink
Browse files

top level makefile and wrapper for configure

  • Loading branch information...
1 parent 68d0a79 commit 7e78db00e486029db831afdd956487af35260aab @srlindsay srlindsay committed Oct 18, 2009
Showing with 48 additions and 10 deletions.
  1. +23 −0 Makefile
  2. +5 −0 configure
  3. +6 −2 python-lounge/Makefile
  4. +14 −8 smartproxy/Makefile
View
@@ -0,0 +1,23 @@
+SUBDIRS = dumbproxy smartproxy python-lounge
+
+.PHONY: SUBDIRS $(SUBDIRS)
+.PHONY: install clean
+
+all: $(SUBDIRS)
+
+install: $(SUBDIRS)
+ $(MAKE) -C dumbproxy install
+ $(MAKE) -C smartproxy install
+ $(MAKE) -C python-lounge install
+
+clean:
+ $(MAKE) -C dumbproxy clean
+ $(MAKE) -C smartproxy clean
+ $(MAKE) -C python-lounge clean
+
+
+SUBDIRS: $(SUBDIRS)
+
+$(SUBDIRS):
+ $(MAKE) -C $@
+
View
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+cd dumbproxy
+./configure
+cd ..
View
@@ -8,9 +8,13 @@ ifeq ($(PY_VERSION), Python 2.3.4)
PY_EXTRA=
endif
-.PHONY: default
+.PHONY: default install
+
default:
- python setup.py bdist_rpm --release="$(RELEASE)" $(PY_EXTRA)
+ python setup.py build
+
+install:
+ python setup.py install --root $(DESTDIR)
.PHONY: test
test:
View
@@ -9,11 +9,17 @@ ifeq ($(PY_VERSION), Python 2.3.4)
endif
default:
- echo $(PY_VERSION)
- python setup.py bdist_rpm --release="$(RELEASE)" --requires "Twisted, python-cjson, zope.interface, python-lounge, python-simplejson" $(PY_EXTRA)
-clean:
- rm -f MANIFEST
- rm -rf dist build
- find . -name "*.pyc" -exec rm -f {} \;
- find . -name "*~" -exec rm -f {} \;
- find . -name "#*#" -exec rm -f {} \;
+ python setup.py build
+
+install:
+ python setup.py install --root $(DESTDIR)
+
+#default:
+# echo $(PY_VERSION)
+# python setup.py bdist_rpm --release="$(RELEASE)" --requires "Twisted, python-cjson, zope.interface, python-lounge, python-simplejson" $(PY_EXTRA)
+#clean:
+# rm -f MANIFEST
+# rm -rf dist build
+# find . -name "*.pyc" -exec rm -f {} \;
+# find . -name "*~" -exec rm -f {} \;
+# find . -name "#*#" -exec rm -f {} \;

0 comments on commit 7e78db0

Please sign in to comment.