diff options
author | Luke Shumaker <lukeshu@sbcglobal.net> | 2017-01-17 02:00:48 -0500 |
---|---|---|
committer | Luke Shumaker <lukeshu@sbcglobal.net> | 2017-01-17 02:05:50 -0500 |
commit | f4b4df101e4e3449494d65100ef2bab7d0bd46dd (patch) | |
tree | ef1d04ae5318a12014ef8afe5af40f2a244d1946 /build-aux/Makefile.once.tail/00-dist.mk | |
parent | 1ff424c47193173b24d997293f8b0b0c4efcdd48 (diff) |
Fix `make dist`.
Diffstat (limited to 'build-aux/Makefile.once.tail/00-dist.mk')
-rw-r--r-- | build-aux/Makefile.once.tail/00-dist.mk | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/build-aux/Makefile.once.tail/00-dist.mk b/build-aux/Makefile.once.tail/00-dist.mk index a890d9d..3bd38da 100644 --- a/build-aux/Makefile.once.tail/00-dist.mk +++ b/build-aux/Makefile.once.tail/00-dist.mk @@ -13,6 +13,9 @@ # You should have received a copy of the GNU Affero General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. +# NB: intentionally resolve symlinks (tack on the -P flag to `cp` to +# not resolve them). The GNU Coding Standards say to avoid symlinks +# in tarballs. _dist.copyfile = $(MKDIR_P) $(dir $2) && $(CP) -T $1 $2 _dist.addfile = $(call _dist.copyfile,$3,$2/$(call at.relto,$1,$3)) $(topoutdir)/$(dist.pkgname)-$(dist.version): $(_dist.files) |