./0040755000076400001440000000000007706343267010275 5ustar gholtusers./g0100644000076400001440000000001107676320727010435 0ustar gholtusersmain dir ./h0100666000076400001440000000000007676315466010444 0ustar gholtusers./Makeppfile0100644000076400001440000000125007706343254012264 0ustar gholtusers# # Test ignoring files and directories which are not readable. # repository .=repository # Don't incorporate files which are # marked locally unreadable. $(phony all): list-of-files all_derived list-of-files: echo $(wildcard subdirs/**/*) > $@ # Can't use echo -n in the following rule because then it fails on HPUX # where echo doesn't support -n. ARGH!!!!!!! %.derived: %: foreach ? echo "derived from " > $(output) cat $(input) >> $(output) all_derived: *.derived $(RM) $(output) for file in $(inputs); do \ echo $$file >> $(output); \ cat $$file >> $(output); \ done $(phony clean): $(RM) -rf *.derived all_derived list-of-files .makepp* *~ subdirs/s3 ./repository/0040755000076400001440000000000007706343051012503 5ustar gholtusers./repository/f0100644000076400001440000000001307676315414012652 0ustar gholtusersrepository ./repository/g0100644000076400001440000000001307676315414012653 0ustar gholtusersrepository ./repository/h0100644000076400001440000000001307676315414012654 0ustar gholtusersrepository ./repository/subdirs/0040755000076400001440000000000007706343051014156 5ustar gholtusers./repository/subdirs/d0100644000076400001440000000001307676315414014323 0ustar gholtusersrepository ./repository/subdirs/e0100644000076400001440000000001307676315414014324 0ustar gholtusersrepository ./repository/subdirs/s1/0040755000076400001440000000000007706343051014501 5ustar gholtusers./repository/subdirs/s1/a0100644000076400001440000000001307676315414014643 0ustar gholtusersrepository ./repository/subdirs/s1/b0100644000076400001440000000001307676315414014644 0ustar gholtusersrepository ./repository/subdirs/s2/0040755000076400001440000000000007706343051014502 5ustar gholtusers./repository/subdirs/s2/b0100644000076400001440000000001307676315414014645 0ustar gholtusersrepository ./repository/subdirs/s2/c0100644000076400001440000000001307676315414014646 0ustar gholtusersrepository ./repository/subdirs/s3/0040755000076400001440000000000007706343051014503 5ustar gholtusers./repository/subdirs/s3/.makepp/0040755000076400001440000000000007706343051016036 5ustar gholtusers./repository/subdirs/s3/.makepp/z0100644000076400001440000000017307677420754016245 0ustar gholtusersSORTED_DEPS= BUILD_SIGNATURE=1056842220 CWD=.. COMMAND=touch z ARCH=i586-linux-thread-multi DEP_SIGS= SIGNATURE=1056842220 ./repository/subdirs/s3/makefile0100644000076400001440000000020707677420705016210 0ustar gholtusers# # This makefile tests implicit loading makefiles from repositories when there # is no makefile in the main directory. # z: touch $@ ./repository/subdirs/s3/.makepp_log0100644000076400001440000000210707677420754016634 0ustar gholtusersLoading makefile /home/gholt/src/makepp/makepp_tests/tdir/repository/subdirs/s3/makefile with default directory /home/gholt/src/makepp/makepp_tests/tdir/repository/subdirs/s3 Trying to build /home/gholt/src/makepp/makepp_tests/tdir/repository/subdirs/s3/makefile Using rule default rule Targets /home/gholt/src/makepp/makepp_tests/tdir/repository/subdirs/s3/makefile depend on Trying to build /home/gholt/src/makepp/makepp_tests/tdir/repository/subdirs/s3/makefile Using rule default rule Targets /home/gholt/src/makepp/makepp_tests/tdir/repository/subdirs/s3/makefile depend on Trying to build /home/gholt/src/makepp/makepp_tests/tdir/repository/subdirs/s3/z Using rule /home/gholt/src/makepp/makepp_tests/tdir/repository/subdirs/s3/makefile:5 Targets /home/gholt/src/makepp/makepp_tests/tdir/repository/subdirs/s3/z depend on Rebuild /home/gholt/src/makepp/makepp_tests/tdir/repository/subdirs/s3/z because last build command ("") differs from current command ("touch z") /home/gholt/src/makepp/makepp_tests/tdir/repository/subdirs/s3/makefile:5 successfully executed 1 files updated ./makepp_test_script0100755000076400001440000000031507677427530014122 0ustar gholtusers#!/bin/sh # # Make some of the files unreadable. We can't do this in the tar file because # tar won't make an archive with unreadable files. # chmod a-rwx h subdirs/s1/b subdirs/s2 exec ${PERL-perl} $1 ./cleanup_script0100755000076400001440000000035707677427404013243 0ustar gholtusers#!/bin/sh # # This script is run after the test has been executed. # We reset the permissions on the directory we made unreadable, or else # it will be impossible to delete the directory. # chmod a+rwx subdirs/s2 chmod a+rw subdirs/s1/b h ./subdirs/0040755000076400001440000000000007706343267011750 5ustar gholtusers./subdirs/s1/0040755000076400001440000000000007706343267012273 5ustar gholtusers./subdirs/s1/b0100666000076400001440000000000007676321326012424 0ustar gholtusers./subdirs/s2/0040777000076400001440000000000007706343267012300 5ustar gholtusers./answers/0040755000076400001440000000000007706343153011751 5ustar gholtusers./answers/f.derived0100644000076400001440000000003107706343151013527 0ustar gholtusersderived from repository ./answers/all_derived0100644000076400001440000000010407706343151014134 0ustar gholtusersf.derived derived from repository g.derived derived from main dir ./answers/list-of-files0100644000076400001440000000013007677427562014356 0ustar gholtuserssubdirs/s1/a subdirs/d subdirs/e subdirs/s3/makefile subdirs/s1 subdirs/s3 subdirs/s3/z ./answers/n_files0100644000076400001440000000000207676321520013300 0ustar gholtusers4 ./answers/g.derived0100644000076400001440000000002707706343151013535 0ustar gholtusersderived from main dir