*/
appleGetPaperSize(media_default, sizeof(media_default));
+ fprintf(stderr, "Apple default media = %s\n", media_default);
#endif /* __APPLE__ */
/*
exit 1
fi
-uname="`uname | awk '{print tolower($1)}'`"
-if test "x$1" = xlsb; then
- shift
- uname="linux-lsb"
-fi
+platform="`uname | awk '{print tolower($1)}'`"
+case "x$1" in
+ xfedora* | xlsb | xrhel* | xubuntu*)
+ platform="linux-$1"
+ shift
+ ;;
+esac
if test $# = 0; then
echo Updating to get snapshot version...
cp test/testfile.* $pkgdir
cp test/validate-job.test $pkgdir
-if test `uname` = Darwin; then
- pkgfile="$pkgdir-macosx-universal.dmg"
+if test x$platform = xdarwin; then
+ pkgfile="$pkgdir-osx-universal.dmg"
echo Creating disk image $pkgfile...
test -f $pkgfile && rm $pkgfile
hdiutil create -srcfolder $pkgdir $pkgfile
else
- pkgfile="$pkgdir-$uname-`uname -m`.tar.gz"
+ pkgfile="$pkgdir-$platform-`uname -m`.tar.gz"
echo Creating archive $pkgfile...
tar czf $pkgfile $pkgdir || exit 1
fi
#!/bin/sh
#
-# "$Id: makesrcdist 7776 2008-07-22 20:46:55Z mike $"
+# "$Id$"
#
# makesrcdist - make a source distribution of CUPS.
#
echo "Done."
#
-# End of "$Id: makesrcdist 7776 2008-07-22 20:46:55Z mike $".
+# End of "$Id$".
#
#!/bin/sh
#
-# "$Id: testrpm 5304 2006-03-18 01:21:37Z mike $"
+# "$Id$"
#
# Test script for making RPMs...
#
rpmbuild -ta $args cups-$fileversion-source.tar.bz2
#
-# End of "$Id: testrpm 5304 2006-03-18 01:21:37Z mike $".
+# End of "$Id$".
#