# Note: Makefile is built automatically from Makefile.in
#
-# $Id: Makefile.in,v 1.31 2001/09/23 10:13:48 swa Exp $
+# $Id: Makefile.in,v 1.34 2001/10/15 18:28:06 steudten Exp $
#
# Written by and Copyright (C) 2001 the SourceForge
# IJBSWA team. http://ijbswa.sourceforge.net
# Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#
# $Log: Makefile.in,v $
+# Revision 1.34 2001/10/15 18:28:06 steudten
+# remove config.cache for target clobber.
+# Cleanup make dist for RH and S.u.S.E.
+#
+# Revision 1.33 2001/10/10 12:43:33 oes
+# Added ugly hack to make install target work at least for some setups.
+#
+# Revision 1.32 2001/10/09 22:38:19 jongfoster
+# Correcting actionsfile filename for Win32 INI build
+#
# Revision 1.31 2001/09/23 10:13:48 swa
# upload process established. run make webserver and
# the documentation is moved to the webserver. documents
# verify that i'm root needs to be done
rm -f ../ijbswa.tar.gz
# verify all version strings, FLAGS, etc. in the spec file
- cat junkbuster-rh.spec | sed 's/^Version:.*/Version: $(RPM_VERSION)/g' | sed 's/^Release:.*/Release: $(RPM_PACKAGEV)/g' > /tmp/abc && cp -f /tmp/abc junkbuster-rh.spec
+ cat junkbuster-rh.spec | sed 's/^Version:.*/Version: $(RPM_VERSION)/g' | sed 's/^Release:.*/Release: $(RPM_PACKAGEV)/g' > abc && mv -f abc junkbuster-rh.spec
tar --exclude "CVS" --exclude "junkbuster-suse.spec" -cvzf ../ijbswa.tar.gz .
# verify all files in their correct location needs to be done
cd .. && rpm -ta ijbswa.tar.gz
# verify that i'm root needs to be done
rm -f ../ijbswa.tar.gz
# verify all version strings, FLAGS, etc. in the spec file
- cat junkbuster-suse.spec | sed 's/^Version:.*/Version: $(RPM_VERSION)/g' | sed 's/^Release:.*/Release: $(RPM_PACKAGEV)/g' > /tmp/abc && cp -f /tmp/abc junkbuster-suse.spec
+ cat junkbuster-suse.spec | sed 's/^Version:.*/Version: $(RPM_VERSION)/g' | sed 's/^Release:.*/Release: $(RPM_PACKAGEV)/g' > abc && mv -f abc junkbuster-suse.spec
tar --exclude "CVS" --exclude "junkbuster-rh.spec" -cvzf ../ijbswa.tar.gz .
# verify all files in their correct location needs to be done
# never use buildroot to define the location inside the spec
# AmigaOS
@AMIGAOS_ONLY@OBJS += amiga.o
-@AMIGAOS_ONLY@CFLAGS += -D__AMIGAVERSION__=\"$(VERSION_MAJOR).$(VERSION_MINOR)$(VERSION_POINT)\" -D__AMIGADATE__=\"`date +%d.%m.%Y`\" -W -Wall -m68020 -Os -noixemul -fbaserel -msmall-code
+@AMIGAOS_ONLY@CFLAGS += -D__AMIGAVERSION__=\"$(VERSION_MAJOR).$(VERSION_MINOR)$(VERSION_POINT)\" -D__AMIGADATE__=\"`date +%d.%m.%Y`\" -W -m68020 -noixemul -fbaserel -msmall-code
@AMIGAOS_ONLY@LDFLAGS += -m68020 -noixemul -fbaserel
@AMIGAOS_ONLY@LIBS = -lm /gg/lib/libb/libm020/libnix/swapstack.o
@AMIGAOS_ONLY@amiga.o: amiga.c amiga.h config.h
$(RM) a.out core $(OBJS) $(W32_FILES) $(W32_INIS)
clobber: clean
- $(RM) $(PROGRAM) *.pdb *.lib *.exp TAGS junkbuster.log
+ $(RM) $(PROGRAM) *.pdb *.lib *.exp TAGS junkbuster.log config.cache
tags: $(SRCS) $(HDRS)
etags $(SRCS) $(HDRS)
install: all
+ #
+ # FIXME: This is a dirty hack to have an install target
+ # that works at least for some setups. This needs
+ # to be fixed!
+ #
$(STRIP_PROG) $(PROGRAM)
$(INSTALL) $(PROGRAM) $(SBIN_DEST)
- $(INSTALL) README README.TOO README.WIN README.re_filter README.cygwin $(DEST)
- $(INSTALL) aclfile blocklist config cookiefile forward imagelist \
- popup re_filterfile trust $(DEST)
- # FIXME: On SuSE, these are not found. Where do they go?
- $(ECHO) junkbuster.logrotate junkbuster.monthly junkbuster.weekly
- $(GZIP_PROG) -c junkbuster.1 > $(MAN_DEST)/junkbuster.1.gz
- $(INSTALL) junkbuster.init /sbin/init.d/junkbuster
+ mkdir -p $(DEST)/user-manual
+ mkdir -p $(DEST)/templates
+ cp -r doc/webserver/user-manual $(DEST)
+ cp -r templates $(DEST)
+ $(INSTALL) config actionsfile re_filterfile trust $(DEST)
+ # FIXME $(ECHO) junkbuster.logrotate junkbuster.monthly junkbuster.weekly
+ # FIXME: Need new manual! $(GZIP_PROG) -c junkbuster.1 > $(MAN_DEST)/junkbuster.1.gz
+ $(INSTALL) junkbuster.init /etc/init.d/junkbuster
#############################################################################