The following commit has been merged in the master branch:
commit 7467cc776b0f9f402d9e73b69cc601f41332491a
Author: Guillem Jover <[email protected]>
Date:   Sat Feb 20 07:53:17 2010 +0100

    build: Move <admindir>/alternatives directory creation to scripts/
    
    Put it close to the other alternatives file and directory handling.

diff --git a/scripts/Makefile.am b/scripts/Makefile.am
index 98fd8bc..0a4f8ae 100644
--- a/scripts/Makefile.am
+++ b/scripts/Makefile.am
@@ -118,6 +118,7 @@ do_perl_subst = $(AM_V_GEN) \
 
 install-data-local:
        $(mkdir_p) $(DESTDIR)$(sysconfdir)/alternatives
+       $(mkdir_p) $(DESTDIR)$(admindir)/alternatives
        $(INSTALL_DATA) $(srcdir)/README.alternatives 
$(DESTDIR)$(sysconfdir)/alternatives/README
 
 # Ideally we'd use 'sed -i', but unfortunately that's not portable.
diff --git a/src/Makefile.am b/src/Makefile.am
index 862cfea..b3f2fe5 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -74,6 +74,5 @@ dpkg_trigger_LDADD = \
 
 install-data-local:
        $(mkdir_p) $(DESTDIR)$(pkgconfdir)/dpkg.cfg.d
-       $(mkdir_p) $(DESTDIR)$(admindir)/alternatives
        $(mkdir_p) $(DESTDIR)$(admindir)/info
        $(mkdir_p) $(DESTDIR)$(admindir)/updates

-- 
dpkg's main repository


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to