]> git.ipfire.org Git - thirdparty/lldpd.git/commitdiff
build: more changelog drama
authorVincent Bernat <bernat@luffy.cx>
Sat, 12 Jan 2013 23:23:53 +0000 (00:23 +0100)
committerVincent Bernat <bernat@luffy.cx>
Sat, 12 Jan 2013 23:28:47 +0000 (00:28 +0100)
We need ChangeLog to be listed in `dist_doc_DATA` or
`doc_DATA`. Therefore, we list it in the former and if we happen to
install from git, we just ship an empty ChangeLog.

Makefile.am

index 335be5b7808db5dfe34700a7de1a49b1bde6ef82..11a68e5e2a335eec273b3ac7442e766116f941b8 100644 (file)
@@ -6,7 +6,7 @@ SUBDIRS      = src/compat src src/daemon src/lib src/client tests
 EXTRA_DIST   = $(DX_CONFIG) include
 DIST_SUBDIRS = $(SUBDIRS) libevent
 
-dist_doc_DATA = README.md NEWS
+dist_doc_DATA = README.md NEWS ChangeLog
 
 # Build changelog from git history
 dist-hook: $(distdir)/ChangeLog
@@ -26,5 +26,7 @@ $(distdir)/ChangeLog: __force-changelog-generation
        else \
                touch $@ ; \
        fi
+ChangeLog:
+       touch $@
 
 MOSTLYCLEANFILES = $(DX_CLEANFILES)