ftp://ftp.linux.ncsu.edu/mirror/ftp.redhat.com/pub/redhat/linux/enterprise/4/en/os...
[xscreensaver] / Makefile.in
index 117470d4992ab3551acfbbcdee9dfa77604ff09c..e085de53a6fd9cefb244db1a1ad7aa3cc1a14480 100644 (file)
@@ -1,4 +1,4 @@
-# Makefile.in --- xscreensaver, Copyright (c) 1999 Jamie Zawinski.
+# Makefile.in --- xscreensaver, Copyright (c) 1999-2004 Jamie Zawinski.
 # the `../configure' script generates `Makefile' from this file.
 
 @SET_MAKE@
@@ -22,38 +22,38 @@ default::
        @$(MAKE_SUBDIR)
 all::
        @$(MAKE_SUBDIR)
-install:
+install::
        @$(MAKE_SUBDIR)
-install-program:
+install-program::
        @$(MAKE_SUBDIR)
-install-man:
+install-man::
        @$(MAKE_SUBDIR)
-install-strip:
+install-strip::
        @$(MAKE_SUBDIR)
-uninstall:
+uninstall::
        @$(MAKE_SUBDIR)
-uninstall-program:
+uninstall-program::
        @$(MAKE_SUBDIR)
-uninstall-man:
+uninstall-man::
        @$(MAKE_SUBDIR)
-depend:
+depend::
        @$(MAKE_SUBDIR)
-distdepend:
+distdepend::
        @$(MAKE) update_spec_version
        @$(MAKE_SUBDIR)
-TAGS: tags
-tags:
+TAGS:: tags
+tags::
        @$(MAKE_SUBDIR)
-clean:
+clean::
        @$(MAKE_SUBDIR)
-distclean: clean
+distclean:: clean
        -rm -f config.h Makefile config.status config.cache config.log TAGS *~ "#"* intltool-extract intltool-merge intltool-update
        @$(MAKE_SUBDIR)
 
-dist: tar
+dist:: tar
 
 # This really makes me sick...
-tar:
+tar::
        @                                                                   \
   sh config.status ;                                                       \
   rm -f configure ;                                                        \
@@ -155,6 +155,10 @@ bump-version::
   echo "overwrote $$SRC";                                                  \
   ls -lFd $$SRC
 
+bump_version:: bump-version
+tick-version:: bump-version
+tick_version:: bump-version
+
 update_spec_version::
        @S=$(srcdir)/xscreensaver.spec ;                                    \
        U=$(srcdir)/utils/version.h ;                                       \
@@ -187,9 +191,9 @@ rpm::
   mkdir $$DIR ;                                                                   \
   ( cd $$DIR; mkdir BUILD RPMS RPMS/$$ARCH SOURCES SPECS SRPMS ) ;        \
   cp -p $${ADIR}$$TGZ $$DIR/SOURCES/ ;                                    \
-  rpm --define "_topdir $$DIR"                                            \
-      --define "USE_GL yes"                                               \
-      -v -ba xscreensaver.spec ;                                          \
+  rpmbuild --define "_topdir $$DIR"                                       \
+           --define "USE_GL yes"                                          \
+           -v -ba xscreensaver.spec ;                                     \
   echo '' ;                                                               \
   echo 'RPM build complete' ;                                             \
   echo '' ;                                                               \
@@ -279,7 +283,7 @@ www::
   TMP=/tmp/xd.$$$$ ;                                                       \
   sed "s/xscreensaver-[0-9]\.[0-9][0-9]*/$$HEAD/g" download.html > $$TMP ;  \
   echo '' ;                                                                \
-  diff -u0 download.html $$TMP ;                                           \
+  diff -U0 download.html $$TMP ;                                           \
   echo '' ;                                                                \
                                                                            \
   OLDEST=`ls xscreensaver*.tar.gz | head -1` ;                             \
@@ -297,7 +301,7 @@ www::
   rm -f $$TMP ;                                                                    \
                                                                            \
   (cd ..; $(MAKE) xscreensaver/changelog.html );                           \
-  cvs diff -u0 changelog.html ;                                                    \
+  cvs diff -U0 changelog.html ;                                                    \
   set +x ;                                                                 \
                                                                            \
   echo -n "Ok? ";                                                          \
@@ -307,3 +311,30 @@ www::
   fi ;                                                                     \
                                                                            \
   cvs commit -m "$$VERS"
+
+check_years::
+       @for file in `find . -name '*.*' \
+               \! -name '*~' \! -name '*.o' \! -name '*.gz' \! -name '*.Z' \
+               \! -name '*.po' \! -name 'config.*'  \! -name '*.glade*' \
+               \! -name '*.m4' \! -name '*.pdb' \! -name '*.xpm' \
+               \! -name '*.jpg' \! -name '*.gif' \! -name '*.eps' \
+               \! -name '*.png' \! -name '*.tif' \! -name '*.bak' \
+               | sort` \
+       ; do \
+         y=`date -r "$$file" '+%Y'` ; \
+         if ! ( grep "\b$$y\b" $$file >/dev/null ); then \
+           if ( grep "opyright\|(c)\|\.BR" $$file >/dev/null ); then \
+             echo "$$file              does not mention $$y" ; \
+           fi ; \
+         fi ; \
+       done
+
+count::
+       @ \
+  echo -n "Current hack count: " ; \
+  ( ( cd hacks;     make -s INSTALL=true install-program install-scripts ) ; \
+    ( cd hacks/glx; make -s INSTALL=true install-program ) ) | \
+    grep true | \
+    grep -v helper | \
+    grep -v ljlatest | \
+    wc -l