I think we don't need any subdirectories, etc.
# #
###############################################################################
-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
+++ /dev/null
-###############################################################################
-# #
-# 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)
+++ /dev/null
-###############################################################################
-# #
-# 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