NetBSD-Bugs archive

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

Re: bin/50194: teach make about zip files



The following reply was made to PR bin/50194; it has been noted by GNATS.

From: Masao Uebayashi <uebayasi%gmail.com@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: bin/50194: teach make about zip files
Date: Sun, 6 Sep 2015 18:13:43 +0900

 I've been wondering if it's possible to rewrite multiple output rules
 using make(1)'s ``archive'' feature.  For example, timezone data is
 defined in a few files, and zic(8) outputs many binary files.  If
 those output files are archived, its rule can be written as something
 like this:
 
 tzdata.a: data files
         zic -d tmpdir ... # compile text definitions and generate
 binary zone files
         cd tmpdir && ar r ../tzdata.a */* # create tzdata.a archive
 


Home | Main Index | Thread Index | Old Index