Bug 691128 - Add distclean target
Summary: Add distclean target
Status: RESOLVED FIXED
Alias: None
Product: GhostPCL
Classification: Unclassified
Component: PCL interpreter (show other bugs)
Version: 8.70
Hardware: PC Linux
: P4 normal
Assignee: Henry Stiles
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-22 08:03 UTC by William Bader
Modified: 2010-08-03 06:05 UTC (History)
0 users

See Also:
Customer:
Word Size: ---


Attachments
pdlmake.pat (334 bytes, patch)
2010-02-22 08:06 UTC, William Bader
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description William Bader 2010-02-22 08:03:50 UTC
ghostpdl-8.71 does not have a distclean target and the clean target leaves some
binary files.
Comment 1 William Bader 2010-02-22 08:06:19 UTC
Created attachment 5976 [details]
pdlmake.pat

Add a distclean target to the top level Makefile

distclean: clean
  rm -f language_switch/obj/mkromfs main/obj/mkromfs svg/obj/mkromfs
Comment 2 Hin-Tak Leung 2010-02-22 08:34:21 UTC
A better rule is:

     rm -f */*obj/*

the debug targets creates debugobj , etc.
Comment 3 Hin-Tak Leung 2010-05-02 03:13:00 UTC
Grabbing a Ralph's bugs.
Comment 4 Hin-Tak Leung 2010-08-02 00:32:27 UTC
Re-assigning bugs which still have work to do.
Comment 5 Henry Stiles 2010-08-03 06:05:56 UTC
fixed in revision 11953.  There is definitely work to do in the MSVC build for the clean target.  We'll save that for another day ;-).

make clean now removes mkromfs.  I didn't see the need for a distclean, eventually we'll do autoconf for ghostpdl and implement the standard targets and Hin-Tak's comment #2 is reasonable for a clean target action but I prefer to only remove program related files.