package-build-rules-20030709
authorDerrick Brashear <shadow@dementia.org>
Wed, 9 Jul 2003 20:44:46 +0000 (20:44 +0000)
committerDerrick Brashear <shadow@dementia.org>
Wed, 9 Jul 2003 20:44:46 +0000 (20:44 +0000)
allow building of macos packages from make

Makefile.in

index 29483e5..116445b 100644 (file)
@@ -59,6 +59,14 @@ dest_nolibafs: all_nolibafs dest_dirs
 dest_only_libafs: only_libafs dest_dirs
        $(MAKE) build TARGET=libafs COMPILE_PART2B=dest
 
+packages: dest
+       @case ${SYS_NAME} in \
+       ppc_darwin* ) \
+               ${COMPILE_PART1} packaging/MacOS && ./buildpkg.sh ${DEST} ;; \
+       *) \
+               echo Not building packages for ${SYS_NAME} ;; \
+       esac
+
 ${TOP_INCDIR} ${TOP_INCDIR}/afs ${TOP_LIBDIR} ${TOP_JLIBDIR}:
        mkdir -p $@