-# Makefile.in --- xscreensaver, Copyright (c) 1997 Jamie Zawinski.
+# Makefile.in --- xscreensaver, Copyright (c) 1999 Jamie Zawinski.
# the `../configure' script generates `Makefile' from this file.
@SET_MAKE@
# nearly impossible to customize --help blurb. This horrid set of regexps
# go through and clean up the help text, by inserting whitespace and ripping
# out options we don't use. Odds are good that this will fail with any version
-# of autoconf other than 2.12.
+# of autoconf other than the ones I've tried (2.12 and 2.13.)
#
configure::
autoconf
fi ; \
rm $$T
+rpm::
+ @ \
+ VERS=`sed -n 's/[^0-9]*\([0-9]\.[0-9][0-9]*\).*/\1/p' utils/version.h` ; \
+ cp -p xscreensaver-$$VERS.tar.gz /usr/src/redhat/SOURCES/ ; \
+ rpm -ba xscreensaver.spec
+
test-tar::
@ \
VERS=`sed -n 's/[^0-9]*\([0-9]\.[0-9][0-9]*\).*/\1/p' utils/version.h` ; \
( cd BIN/motif ; \
CC=cc ; \
export CC ; \
- ../../configure --with-motif=/usr/local/motif ; \
+ ../../configure --without-xpm --with-motif=/usr/local/motif ; \
echo --------------------------------------------------------------- ; \
- ( cd utils; gmake ) ; \
- ( cd driver; gmake ) ; \
+ gmake ; \
( cd driver; gmake xscreensaver-demo-Xaw ) ; \
echo --------------------------------------------------------------- ); \
\