[Devel] [PATCH 8/8] dists/Makefile.am: remove dup

Kir Kolyshkin kir at openvz.org
Tue Jun 2 15:50:26 PDT 2015


Spotted this:

> make[1]: Entering directory `/media/ts/kir/git/newovz/libvzctl/dists'
> Makefile:698: warning: overriding recipe for target `ubuntu'
> Makefile:691: warning: ignoring old recipe for target `ubuntu'

Apparently there is a copy-paste error in dists/Makefile.am --
"ubuntu" target is listed twice, first time its contents is the
same as for the "debian" target.

No harm to have it, but could cause problems later, so remove it.

Signed-off-by: Kir Kolyshkin <kir at openvz.org>
---
 dists/Makefile.am | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/dists/Makefile.am b/dists/Makefile.am
index 8afc021..bb32396 100644
--- a/dists/Makefile.am
+++ b/dists/Makefile.am
@@ -130,13 +130,6 @@ suse:
 	$(INSTALL_DATA) $(srcdir)/sles.conf \
 		$(DESTDIR)$(distconfdir)/sles.conf
 ubuntu:
-	for ver in $(DEBIAN_VER); do \
-		$(INSTALL_DATA) $(srcdir)/debian.conf \
-		    $(DESTDIR)$(distconfdir)/debian-$$ver.conf; \
-	done
-	$(INSTALL_DATA) $(srcdir)/debian.conf \
-		$(DESTDIR)$(distconfdir)/debian.conf
-ubuntu:
 	for ver in $(UBUNTU_VER); do \
 		$(INSTALL_DATA) $(srcdir)/debian.conf \
 		    $(DESTDIR)$(distconfdir)/ubuntu-$$ver.conf; \
-- 
1.9.3




More information about the Devel mailing list