]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
I reordered the directory tree in src/pyfire.
authorMichael Tremer <michael.tremer@ipfire.org>
Sat, 10 May 2008 12:51:12 +0000 (14:51 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Sat, 10 May 2008 12:51:12 +0000 (14:51 +0200)
I think we don't need any subdirectories, etc.

src/pyfire/Makefile
src/pyfire/Makefile.inc [deleted file]
src/pyfire/__init__.py [moved from src/pyfire/src/__init__.py with 100% similarity]
src/pyfire/config.py [moved from src/pyfire/src/config.py with 100% similarity]
src/pyfire/executil.py [moved from src/pyfire/src/executil.py with 100% similarity]
src/pyfire/net.py [moved from src/pyfire/src/net.py with 100% similarity]
src/pyfire/src/Makefile [deleted file]
src/pyfire/translate.py [moved from src/pyfire/src/translate.py with 100% similarity]
src/pyfire/web.py [moved from src/pyfire/src/web.py with 100% similarity]

index d9fe3e45cc6ba53a02b03f9fe51d04f464b5f02f..d635090965d8ece4e829b8e57ba9f0f435769cb4 100644 (file)
 #                                                                             #
 ###############################################################################
 
-include Makefile.inc
+NAME = pyFire
+SNAME = pyfire
 
-SUBDIRS = src
+PYTHONLIBDIR  = $(DESTDIR)/usr/lib/python2.5/site-packages/$(SNAME)
 
-all: subdirs
+all:
 
 install: all
-       for d in $(SUBDIRS); do make PREFIX=`cd $(PREFIX); pwd` -C $$d install; [ $$? = 0 ] || exit 1; done
+       -mkdir -p $(PYTHONLIBDIR)
+       cp -f *.py $(PYTHONLIBDIR)
+       #py-compile $(PYTHONLIBDIR)/*.py
 
 clean:
-       for d in $(SUBDIRS); do make -C $$d clean; done
-
-subdirs:
-       for d in $(SUBDIRS); do make -C $$d; [ $$? = 0 ] || exit 1; done
+       rm -f *.o *.so *.pyc *.pyo
diff --git a/src/pyfire/Makefile.inc b/src/pyfire/Makefile.inc
deleted file mode 100644 (file)
index d4aef33..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-###############################################################################
-#                                                                             #
-# IPFire.org - A linux based firewall                                         #
-# Copyright (C) 2007  Michael Tremer & Christian Schmidt                      #
-#                                                                             #
-# This program is free software: you can redistribute it and/or modify        #
-# it under the terms of the GNU General Public License as published by        #
-# the Free Software Foundation, either version 3 of the License, or           #
-# (at your option) any later version.                                         #
-#                                                                             #
-# This program is distributed in the hope that it will be useful,             #
-# but WITHOUT ANY WARRANTY; without even the implied warranty of              #
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the               #
-# GNU General Public License for more details.                                #
-#                                                                             #
-# You should have received a copy of the GNU General Public License           #
-# along with this program.  If not, see <http://www.gnu.org/licenses/>.       #
-#                                                                             #
-###############################################################################
-
-NAME = pyFire
-SNAME = pyfire
-
-PREFIX        = /
-
-INSTALLNLSDIR = $(PREFIX)/usr/share/locale
-PYTHONLIBDIR  = $(PREFIX)/usr/lib/python2.5/site-packages/$(SNAME)
similarity index 100%
rename from src/pyfire/src/net.py
rename to src/pyfire/net.py
diff --git a/src/pyfire/src/Makefile b/src/pyfire/src/Makefile
deleted file mode 100644 (file)
index 1f20314..0000000
+++ /dev/null
@@ -1,31 +0,0 @@
-###############################################################################
-#                                                                             #
-# IPFire.org - A linux based firewall                                         #
-# Copyright (C) 2007  Michael Tremer & Christian Schmidt                      #
-#                                                                             #
-# This program is free software: you can redistribute it and/or modify        #
-# it under the terms of the GNU General Public License as published by        #
-# the Free Software Foundation, either version 3 of the License, or           #
-# (at your option) any later version.                                         #
-#                                                                             #
-# This program is distributed in the hope that it will be useful,             #
-# but WITHOUT ANY WARRANTY; without even the implied warranty of              #
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the               #
-# GNU General Public License for more details.                                #
-#                                                                             #
-# You should have received a copy of the GNU General Public License           #
-# along with this program.  If not, see <http://www.gnu.org/licenses/>.       #
-#                                                                             #
-###############################################################################
-
-include ../Makefile.inc
-
-all:
-
-install: all
-       -mkdir -p $(PYTHONLIBDIR)
-       cp -vf *.py $(PYTHONLIBDIR)
-       #sh ../py-compile $(PYTHONLIBDIR)/*.py
-
-clean:
-       rm -f *.o *.so *.pyc *.pyo
similarity index 100%
rename from src/pyfire/src/web.py
rename to src/pyfire/web.py