From: Andre P. <at...@us...> - 2005-07-30 08:25:23
|
Update of /cvsroot/hoc/hoc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10363 Modified Files: LICENSE Makefile.in Log Message: Removed symlink to Foundation dir in AppKit dir Correctly clean all autogenerated files for Foundation/ and AppKit/ dirs Split install target into install and install-files targets, in preparation for the newly-added 'package' target (that will make use of the install-files target) Added PackageMaker package description file, used to generate a Mac OS X .pkg (Not quite complete enough for distribution yet, but seems to work OK at least.) Added 'package' target to main Makefile, to prepare a Mac OS X binary .pkg. Updated LICENSE file since it's 2005 :) Index: Makefile.in =================================================================== RCS file: /cvsroot/hoc/hoc/Makefile.in,v retrieving revision 1.9 retrieving revision 1.10 diff -u -d -r1.9 -r1.10 --- Makefile.in 1 Apr 2005 03:00:04 -0000 1.9 +++ Makefile.in 30 Jul 2005 08:24:42 -0000 1.10 @@ -35,6 +35,8 @@ objc.m4 \ $(NULL) +installer_package_root = $(shell pwd)/installer-package/root + all: libffi-src/build/src/raw_api.o hoc-all dist: @@ -66,6 +68,16 @@ install: for dir in $(SUBDIRS); do (cd $$dir; echo "In directory $$dir"; $(MAKE) install) done +install-files: + for dir in $(SUBDIRS); do (cd $$dir; echo "In directory $$dir"; $(MAKE) install-files) done + +package: + mkdir -p "$(installer_package_root)" + $(MAKE) install-files destdir="$(installer_package_root)" + cp HOC/HOC.conf "$(installer_package_root)"/$(GHC_LIB_PATH)/HOC + cp Foundation/Foundation.conf "$(installer_package_root)"/$(GHC_LIB_PATH)/Foundation + cp AppKit/AppKit.conf "$(installer_package_root)"/$(GHC_LIB_PATH)/AppKit + .PHONY: samples samples: for dir in $(Samples_SUBDIRS); do (echo "In directory $$dir"; cd $$dir; $(MAKE)) done Index: LICENSE =================================================================== RCS file: /cvsroot/hoc/hoc/LICENSE,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- LICENSE 19 May 2004 16:51:36 -0000 1.3 +++ LICENSE 30 Jul 2005 08:24:42 -0000 1.4 @@ -1,7 +1,7 @@ HOC: A Haskell to Objective-C Binding -Copyright (C) 2003-2004 Wolfgang Thaller -Copyright (C) 2004 Andre Pang +Copyright (C) 2003-2005 Wolfgang Thaller +Copyright (C) 2004-2005 Andre Pang Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the |