After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 134319 - gtk-doc.make's install creates directory when it's not needed
gtk-doc.make's install creates directory when it's not needed
Status: RESOLVED FIXED
Product: gtk-doc
Classification: Platform
Component: general
1.1
Other All
: Normal normal
: ---
Assigned To: gtk-doc maintainers
gtk-doc maintainers
Depends on:
Blocks:
 
 
Reported: 2004-02-13 12:52 UTC by Julio Merino
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch for gtk-doc.make (1013 bytes, patch)
2004-02-13 12:52 UTC, Julio Merino
none Details | Review

Description Julio Merino 2004-02-13 12:52:14 UTC
gtk-doc.make's install-data-local target checks if there are files in  
$(srcdir)/html/, proceding to install them in the system if some are  
found.  It also creates the target directory where they will be installed  
(obviously).  
  
The problem is that the directory is created before any check is done, so  
an empty directory will be created in the system even if nothing will be  
installed into it.  
  
This does not cause more problems that beeing "ugly", specially when 
packaging software that uses this piece of make code.  The package (in 
pkgsrc) will have to handle the empty directory in a special way, for no 
real reason. 
  
The fix I attached moves the mkinstalldirs call inside the conditional.
Comment 1 Julio Merino 2004-02-13 12:52:40 UTC
Created attachment 24384 [details] [review]
Patch for gtk-doc.make