summaryrefslogtreecommitdiffstats
path: root/usbhid-dump/Makefile.am
blob: 3ba22f02401da428239547071b98ba104d176640 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# SPDX-License-Identifier: GPL-2.0-or-later
#
# Copyright (C) 2009-2010 Nikolai Kondrashov
#
# This file is part of usbhid-dump.

SUBDIRS = src

dist_noinst_SCRIPTS = bootstrap

dist-hook:
	@set -e; \
	if test -d "$(srcdir)/.git"; then \
		echo Generating ChangeLog; \
		( cd "$(srcdir)" && auxdir/missing --run git log ) > \
			ChangeLog.tmp; \
		mv -f ChangeLog.tmp "$(distdir)/ChangeLog"; \
	else \
		echo Skipping ChangeLog generation: no .git directory >&2; \
	fi