NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

bin/50194: teach make about zip files

>Number:         50194
>Category:       bin
>Synopsis:       teach make about zip files
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Thu Sep 03 07:40:00 +0000 2015
>Originator:     David A. Holland
>Release:        n/a

Make has a dusty and disused feature where it can look inside ar files
in order to address individual members and write rules about them.
This allows, for example, updating single files within static
libraries after recompiling.

It would be fairly useful (e.g. for dealing with Java and jar files)
if make also knew how to look inside zip files. I don't think there's
any reason it can't use the same syntax and detect the archive type by
file header.

Note that it doesn't need to know how to extract or insert contents,
just read the directory information out, so the amount of code
involved will be small.



Home | Main Index | Thread Index | Old Index