[illumos-Developer] review request - webrev for #1045 not clobbering perl build dir

Mike Harsch mike at harschsystems.com
Tue May 17 13:55:17 PDT 2011


webrev is here:
     http://harschsystems.com/bugs/illumos-1045-webrev/

Test Results:

After building running make in usr/src/cmd/perl we have:

-bash-4.0$ ls -l
total 23
drwxr-xr-x   3 mharsch  staff          4 May 17 14:16 5.10.0
drwxr-xr-x   5 mharsch  staff          8 May 17 14:16 contrib
-rw-r--r--   1 mharsch  staff       1819 May 17 13:55 Makefile
-rw-r--r--   1 mharsch  staff       1824 May 17 14:12 Makefile.new
-rw-r--r--   1 mharsch  staff       1050 May 17 13:55 req.flg
drwxr-xr-x   2 mharsch  staff          3 May 17 13:55 skel

Now run make clobber

-bash-4.0$ bldenv ~/mharsch-ws/illumos.sh 'make clobber'
Build type   is  non-DEBUG
RELEASE      is
VERSION      is mharsch-ws
RELEASE_DATE is May 2011

The top-level 'setup' target is available to build headers and tools.

Using /usr/bin/bash as shell.
/export/home/mharsch/mharsch-ws/usr/src/cmd/perl/5.10.0
/usr/bin/rm -f -r contrib/copy_contrib
-bash-4.0$ ls -l
total 23
drwxr-xr-x   2 mharsch  staff          3 May 17 14:17 5.10.0
drwxr-xr-x   5 mharsch  staff          7 May 17 14:17 contrib
-rw-r--r--   1 mharsch  staff       1819 May 17 13:55 Makefile
-rw-r--r--   1 mharsch  staff       1824 May 17 14:12 Makefile.new
-rw-r--r--   1 mharsch  staff       1050 May 17 13:55 req.flg
drwxr-xr-x   2 mharsch  staff          3 May 17 13:55 skel

Notice 5.10.0 is still there

-bash-4.0$ mv Makefile Makefile.old
-bash-4.0$ mv Makefile.new Makefile
-bash-4.0$ bldenv ~/mharsch-ws/illumos.sh 'make clobber'
Build type   is  non-DEBUG
RELEASE      is
VERSION      is mharsch-ws
RELEASE_DATE is May 2011

The top-level 'setup' target is available to build headers and tools.

Using /usr/bin/bash as shell.
/export/home/mharsch/mharsch-ws/usr/src/cmd/perl/5.10.0
/usr/bin/rm -f -r contrib/copy_contrib 5.10.0
-bash-4.0$ ls -l
total 20
drwxr-xr-x   5 mharsch  staff          7 May 17 14:17 contrib
-rw-r--r--   1 mharsch  staff       1824 May 17 14:12 Makefile
-rw-r--r--   1 mharsch  staff       1819 May 17 13:55 Makefile.old
-rw-r--r--   1 mharsch  staff       1050 May 17 13:55 req.flg
drwxr-xr-x   2 mharsch  staff          3 May 17 13:55 skel
-bash-4.0$



More information about the Developer mailing list