www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Kilfoil <e...@ypass.net>
Subject build/6663: file timestamps are not set at install time
Date Thu, 12 Oct 2000 18:02:09 GMT

>Number:         6663
>Category:       build
>Synopsis:       file timestamps are not set at install time
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          change-request
>Submitter-Id:   apache
>Arrival-Date:   Thu Oct 12 11:10:03 PDT 2000
>Originator:     eric@ypass.net
>Release:        1.3.12
SunOS lists 5.8 Generic sun4u sparc SUNW,UltraSPARC-IIi-Engine (but this problem is most likely
noticable on all Unix platforms.
When installing, make install does not set the timestamps of the files in the htdocs or icons
directories, which causes these directories not to show up in a "find . -newer" search.  This
makes it a pain for packaging apache in certain configurations.  It's only really a problem
if you don't use the standard apache locations.
make apache
touch /apache.newer
make install
find / -newer /apache.server
This should do the trick:

   @echo "Copying tree $(TOP)/icons/ -> $(root)$(iconsdir)/"; \
+  find $(TOP)/icons/ -exec touch {} \;
   (cd $(TOP)/icons/ && $(TAR) $(TAROPT) - *) |\
   (cd $(root)$(iconsdir)/ && $(TAR) -xf -); \
   find $(root)$(iconsdir)/ -type d -exec chmod a+rx {} \; ;\
   find $(root)$(iconsdir)/ -type f -exec chmod a+r {} \;
   @echo "<=== [data]"

you'll need to make a similar change for htdocs as well.
 [In order for any reply to be added to the PR database, you need]
 [to include <apbugs@Apache.Org> in the Cc line and make sure the]
 [subject line starts with the report component and number, with ]
 [or without any 'Re:' prefixes (such as "general/1098:" or      ]
 ["Re: general/1098:").  If the subject doesn't match this       ]
 [pattern, your message will be misfiled and ignored.  The       ]
 ["apbugs" address is not added to the Cc line of messages from  ]
 [the database automatically because of the potential for mail   ]
 [loops.  If you do not include this Cc, your reply may be ig-   ]
 [nored unless you are responding to an explicit request from a  ]
 [developer.  Reply only with text; DO NOT SEND ATTACHMENTS!     ]

View raw message