+###############################################################################
+# This file is part of the IPCop Firewall. #
+# #
+# IPCop 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 2 of the License, or #
+# (at your option) any later version. #
+# #
+# IPCop 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 IPCop; if not, write to the Free Software #
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA #
+# #
+# Makefiles are based on LFSMake, which is #
+# Copyright (C) 2002 Rod Roard <rod@sunsetsystems.com> #
+# #
+###############################################################################
+
+###############################################################################
+# Definitions
+###############################################################################
+
+include Config
+
+THISAPP = sources-iso
+
+###############################################################################
+# Top-level Rules
+###############################################################################
+
+check :
+
+download :
+
+md5 :
+
+###############################################################################
+# Installation Details
+###############################################################################
+
+install : $(DIR_INFO)/_build.packages-list.log
+ rm -rf /install/cdrom/*
+ for i in `cat $(DIR_INFO)/_build.packages-list.log`; do \
+ cp $(DIR_DL)/$$i /install/cdrom; \
+ done
+
+ # make the sources CDROM iso
+ if [ "$(MACHINE)" == "i386" ]; then \
+ cd /install/cdrom && mkisofs -J -r -V "$(NAME)_$(VERSION)" \
+ . > /install/images/$(SNAME)-sources-cd-$(VERSION).$(MACHINE).iso; \
+ elif [ "$(MACHINE)" == "alpha" ]; then \
+ cd /install/cdrom && mkisofs -J -r -V "$(NAME)_$(VERSION)" \
+ . > /install/images/$(SNAME)-sources-cd-$(VERSION).$(MACHINE).iso; \
+ fi
+ rm -rf /install/cdrom/*