- create the directory structure apt needs to function on make install (Ralf)
authorpmatilai <pmatilai>
Wed, 14 Jun 2006 15:33:41 +0000 (15:33 +0000)
committerpmatilai <pmatilai>
Wed, 14 Jun 2006 15:33:41 +0000 (15:33 +0000)
Makefile.am
Makefile.in

index 60870df..b127e6d 100644 (file)
@@ -86,3 +86,35 @@ EXTRA_DIST += contrib/apt-cron/apt.sysconfig
 
 EXTRA_DIST += buildlib/archtable
 EXTRA_DIST += buildlib/ostable
+
+aptscriptsdir = $(pkgdatadir)/scripts
+aptscripts_SCRIPTS =
+
+aptconfigdir = ${sysconfdir}/apt
+
+aptsources_list_ddir = $(aptconfigdir)/sources.list.d
+aptsources_list_d_DATA =
+
+aptconf_ddir = $(aptconfigdir)/apt.conf.d
+aptconf_d_DATA =
+
+aptvendors_list_ddir = $(aptconfigdir)/vendors.list.d
+aptvendors_list_d_DATA =
+
+aptcachedir = $(localstatedir)/cache/apt
+aptcache_DATA =
+
+aptcache_archives_partialdir = $(aptcachedir)/archives/partial
+aptcache_archives_partial_DATA = 
+
+aptcache_genpkglistdir = $(aptcachedir)/genpkglist
+aptcache_genpkglist_DATA =
+
+aptcache_gensrclistdir = $(aptcachedir)/gensrclist
+aptcache_gensrclist_DATA =
+
+aptstatedir = $(localstatedir)/lib/apt
+aptstate_DATA =
+
+aptstate_lists_partialdir = $(aptstatedir)/lists/partial
+aptstate_lists_partial_DATA =
index 22df82b..94e74f0 100644 (file)
@@ -13,6 +13,8 @@
 # PARTICULAR PURPOSE.
 
 @SET_MAKE@
+
+
 srcdir = @srcdir@
 top_srcdir = @top_srcdir@
 VPATH = @srcdir@
@@ -61,6 +63,17 @@ mkinstalldirs = $(SHELL) $(top_srcdir)/buildlib/mkinstalldirs
 CONFIG_HEADER = $(top_builddir)/include/config.h
 CONFIG_CLEAN_FILES = include/apti18n.h include/inttypes.h \
        include/statvfs.h include/netdb.h
+am__installdirs = "$(DESTDIR)$(aptscriptsdir)" \
+       "$(DESTDIR)$(aptcachedir)" \
+       "$(DESTDIR)$(aptcache_archives_partialdir)" \
+       "$(DESTDIR)$(aptcache_genpkglistdir)" \
+       "$(DESTDIR)$(aptcache_gensrclistdir)" \
+       "$(DESTDIR)$(aptconf_ddir)" \
+       "$(DESTDIR)$(aptsources_list_ddir)" "$(DESTDIR)$(aptstatedir)" \
+       "$(DESTDIR)$(aptstate_lists_partialdir)" \
+       "$(DESTDIR)$(aptvendors_list_ddir)"
+aptscriptsSCRIPT_INSTALL = $(INSTALL_SCRIPT)
+SCRIPTS = $(aptscripts_SCRIPTS)
 SOURCES =
 DIST_SOURCES =
 RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
@@ -69,6 +82,25 @@ RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
        install-recursive installcheck-recursive installdirs-recursive \
        pdf-recursive ps-recursive uninstall-info-recursive \
        uninstall-recursive
+am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
+am__vpath_adj = case $$p in \
+    $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
+    *) f=$$p;; \
+  esac;
+am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
+aptcacheDATA_INSTALL = $(INSTALL_DATA)
+aptcache_archives_partialDATA_INSTALL = $(INSTALL_DATA)
+aptcache_genpkglistDATA_INSTALL = $(INSTALL_DATA)
+aptcache_gensrclistDATA_INSTALL = $(INSTALL_DATA)
+aptconf_dDATA_INSTALL = $(INSTALL_DATA)
+aptsources_list_dDATA_INSTALL = $(INSTALL_DATA)
+aptstateDATA_INSTALL = $(INSTALL_DATA)
+aptstate_lists_partialDATA_INSTALL = $(INSTALL_DATA)
+aptvendors_list_dDATA_INSTALL = $(INSTALL_DATA)
+DATA = $(aptcache_DATA) $(aptcache_archives_partial_DATA) \
+       $(aptcache_genpkglist_DATA) $(aptcache_gensrclist_DATA) \
+       $(aptconf_d_DATA) $(aptsources_list_d_DATA) $(aptstate_DATA) \
+       $(aptstate_lists_partial_DATA) $(aptvendors_list_d_DATA)
 ETAGS = etags
 CTAGS = ctags
 DIST_SUBDIRS = $(SUBDIRS)
@@ -256,6 +288,27 @@ EXTRA_DIST = AUTHORS.RPM COPYING.GPL rpmpriorities test/conf.cc \
        contrib/apt-cron/apt.cron contrib/apt-cron/apt.init \
        contrib/apt-cron/apt.sysconfig buildlib/archtable \
        buildlib/ostable
+aptscriptsdir = $(pkgdatadir)/scripts
+aptscripts_SCRIPTS = 
+aptconfigdir = ${sysconfdir}/apt
+aptsources_list_ddir = $(aptconfigdir)/sources.list.d
+aptsources_list_d_DATA = 
+aptconf_ddir = $(aptconfigdir)/apt.conf.d
+aptconf_d_DATA = 
+aptvendors_list_ddir = $(aptconfigdir)/vendors.list.d
+aptvendors_list_d_DATA = 
+aptcachedir = $(localstatedir)/cache/apt
+aptcache_DATA = 
+aptcache_archives_partialdir = $(aptcachedir)/archives/partial
+aptcache_archives_partial_DATA = 
+aptcache_genpkglistdir = $(aptcachedir)/genpkglist
+aptcache_genpkglist_DATA = 
+aptcache_gensrclistdir = $(aptcachedir)/gensrclist
+aptcache_gensrclist_DATA = 
+aptstatedir = $(localstatedir)/lib/apt
+aptstate_DATA = 
+aptstate_lists_partialdir = $(aptstatedir)/lists/partial
+aptstate_lists_partial_DATA = 
 all: all-recursive
 
 .SUFFIXES:
@@ -309,6 +362,25 @@ $(top_srcdir)/buildlib/config.h.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
 
 distclean-hdr:
        -rm -f include/config.h include/stamp-h1
+install-aptscriptsSCRIPTS: $(aptscripts_SCRIPTS)
+       @$(NORMAL_INSTALL)
+       test -z "$(aptscriptsdir)" || $(mkdir_p) "$(DESTDIR)$(aptscriptsdir)"
+       @list='$(aptscripts_SCRIPTS)'; for p in $$list; do \
+         if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+         if test -f $$d$$p; then \
+           f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \
+           echo " $(aptscriptsSCRIPT_INSTALL) '$$d$$p' '$(DESTDIR)$(aptscriptsdir)/$$f'"; \
+           $(aptscriptsSCRIPT_INSTALL) "$$d$$p" "$(DESTDIR)$(aptscriptsdir)/$$f"; \
+         else :; fi; \
+       done
+
+uninstall-aptscriptsSCRIPTS:
+       @$(NORMAL_UNINSTALL)
+       @list='$(aptscripts_SCRIPTS)'; for p in $$list; do \
+         f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \
+         echo " rm -f '$(DESTDIR)$(aptscriptsdir)/$$f'"; \
+         rm -f "$(DESTDIR)$(aptscriptsdir)/$$f"; \
+       done
 
 mostlyclean-libtool:
        -rm -f *.lo
@@ -319,6 +391,159 @@ clean-libtool:
 distclean-libtool:
        -rm -f libtool
 uninstall-info-am:
+install-aptcacheDATA: $(aptcache_DATA)
+       @$(NORMAL_INSTALL)
+       test -z "$(aptcachedir)" || $(mkdir_p) "$(DESTDIR)$(aptcachedir)"
+       @list='$(aptcache_DATA)'; for p in $$list; do \
+         if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+         f=$(am__strip_dir) \
+         echo " $(aptcacheDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(aptcachedir)/$$f'"; \
+         $(aptcacheDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(aptcachedir)/$$f"; \
+       done
+
+uninstall-aptcacheDATA:
+       @$(NORMAL_UNINSTALL)
+       @list='$(aptcache_DATA)'; for p in $$list; do \
+         f=$(am__strip_dir) \
+         echo " rm -f '$(DESTDIR)$(aptcachedir)/$$f'"; \
+         rm -f "$(DESTDIR)$(aptcachedir)/$$f"; \
+       done
+install-aptcache_archives_partialDATA: $(aptcache_archives_partial_DATA)
+       @$(NORMAL_INSTALL)
+       test -z "$(aptcache_archives_partialdir)" || $(mkdir_p) "$(DESTDIR)$(aptcache_archives_partialdir)"
+       @list='$(aptcache_archives_partial_DATA)'; for p in $$list; do \
+         if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+         f=$(am__strip_dir) \
+         echo " $(aptcache_archives_partialDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(aptcache_archives_partialdir)/$$f'"; \
+         $(aptcache_archives_partialDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(aptcache_archives_partialdir)/$$f"; \
+       done
+
+uninstall-aptcache_archives_partialDATA:
+       @$(NORMAL_UNINSTALL)
+       @list='$(aptcache_archives_partial_DATA)'; for p in $$list; do \
+         f=$(am__strip_dir) \
+         echo " rm -f '$(DESTDIR)$(aptcache_archives_partialdir)/$$f'"; \
+         rm -f "$(DESTDIR)$(aptcache_archives_partialdir)/$$f"; \
+       done
+install-aptcache_genpkglistDATA: $(aptcache_genpkglist_DATA)
+       @$(NORMAL_INSTALL)
+       test -z "$(aptcache_genpkglistdir)" || $(mkdir_p) "$(DESTDIR)$(aptcache_genpkglistdir)"
+       @list='$(aptcache_genpkglist_DATA)'; for p in $$list; do \
+         if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+         f=$(am__strip_dir) \
+         echo " $(aptcache_genpkglistDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(aptcache_genpkglistdir)/$$f'"; \
+         $(aptcache_genpkglistDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(aptcache_genpkglistdir)/$$f"; \
+       done
+
+uninstall-aptcache_genpkglistDATA:
+       @$(NORMAL_UNINSTALL)
+       @list='$(aptcache_genpkglist_DATA)'; for p in $$list; do \
+         f=$(am__strip_dir) \
+         echo " rm -f '$(DESTDIR)$(aptcache_genpkglistdir)/$$f'"; \
+         rm -f "$(DESTDIR)$(aptcache_genpkglistdir)/$$f"; \
+       done
+install-aptcache_gensrclistDATA: $(aptcache_gensrclist_DATA)
+       @$(NORMAL_INSTALL)
+       test -z "$(aptcache_gensrclistdir)" || $(mkdir_p) "$(DESTDIR)$(aptcache_gensrclistdir)"
+       @list='$(aptcache_gensrclist_DATA)'; for p in $$list; do \
+         if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+         f=$(am__strip_dir) \
+         echo " $(aptcache_gensrclistDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(aptcache_gensrclistdir)/$$f'"; \
+         $(aptcache_gensrclistDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(aptcache_gensrclistdir)/$$f"; \
+       done
+
+uninstall-aptcache_gensrclistDATA:
+       @$(NORMAL_UNINSTALL)
+       @list='$(aptcache_gensrclist_DATA)'; for p in $$list; do \
+         f=$(am__strip_dir) \
+         echo " rm -f '$(DESTDIR)$(aptcache_gensrclistdir)/$$f'"; \
+         rm -f "$(DESTDIR)$(aptcache_gensrclistdir)/$$f"; \
+       done
+install-aptconf_dDATA: $(aptconf_d_DATA)
+       @$(NORMAL_INSTALL)
+       test -z "$(aptconf_ddir)" || $(mkdir_p) "$(DESTDIR)$(aptconf_ddir)"
+       @list='$(aptconf_d_DATA)'; for p in $$list; do \
+         if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+         f=$(am__strip_dir) \
+         echo " $(aptconf_dDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(aptconf_ddir)/$$f'"; \
+         $(aptconf_dDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(aptconf_ddir)/$$f"; \
+       done
+
+uninstall-aptconf_dDATA:
+       @$(NORMAL_UNINSTALL)
+       @list='$(aptconf_d_DATA)'; for p in $$list; do \
+         f=$(am__strip_dir) \
+         echo " rm -f '$(DESTDIR)$(aptconf_ddir)/$$f'"; \
+         rm -f "$(DESTDIR)$(aptconf_ddir)/$$f"; \
+       done
+install-aptsources_list_dDATA: $(aptsources_list_d_DATA)
+       @$(NORMAL_INSTALL)
+       test -z "$(aptsources_list_ddir)" || $(mkdir_p) "$(DESTDIR)$(aptsources_list_ddir)"
+       @list='$(aptsources_list_d_DATA)'; for p in $$list; do \
+         if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+         f=$(am__strip_dir) \
+         echo " $(aptsources_list_dDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(aptsources_list_ddir)/$$f'"; \
+         $(aptsources_list_dDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(aptsources_list_ddir)/$$f"; \
+       done
+
+uninstall-aptsources_list_dDATA:
+       @$(NORMAL_UNINSTALL)
+       @list='$(aptsources_list_d_DATA)'; for p in $$list; do \
+         f=$(am__strip_dir) \
+         echo " rm -f '$(DESTDIR)$(aptsources_list_ddir)/$$f'"; \
+         rm -f "$(DESTDIR)$(aptsources_list_ddir)/$$f"; \
+       done
+install-aptstateDATA: $(aptstate_DATA)
+       @$(NORMAL_INSTALL)
+       test -z "$(aptstatedir)" || $(mkdir_p) "$(DESTDIR)$(aptstatedir)"
+       @list='$(aptstate_DATA)'; for p in $$list; do \
+         if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+         f=$(am__strip_dir) \
+         echo " $(aptstateDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(aptstatedir)/$$f'"; \
+         $(aptstateDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(aptstatedir)/$$f"; \
+       done
+
+uninstall-aptstateDATA:
+       @$(NORMAL_UNINSTALL)
+       @list='$(aptstate_DATA)'; for p in $$list; do \
+         f=$(am__strip_dir) \
+         echo " rm -f '$(DESTDIR)$(aptstatedir)/$$f'"; \
+         rm -f "$(DESTDIR)$(aptstatedir)/$$f"; \
+       done
+install-aptstate_lists_partialDATA: $(aptstate_lists_partial_DATA)
+       @$(NORMAL_INSTALL)
+       test -z "$(aptstate_lists_partialdir)" || $(mkdir_p) "$(DESTDIR)$(aptstate_lists_partialdir)"
+       @list='$(aptstate_lists_partial_DATA)'; for p in $$list; do \
+         if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+         f=$(am__strip_dir) \
+         echo " $(aptstate_lists_partialDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(aptstate_lists_partialdir)/$$f'"; \
+         $(aptstate_lists_partialDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(aptstate_lists_partialdir)/$$f"; \
+       done
+
+uninstall-aptstate_lists_partialDATA:
+       @$(NORMAL_UNINSTALL)
+       @list='$(aptstate_lists_partial_DATA)'; for p in $$list; do \
+         f=$(am__strip_dir) \
+         echo " rm -f '$(DESTDIR)$(aptstate_lists_partialdir)/$$f'"; \
+         rm -f "$(DESTDIR)$(aptstate_lists_partialdir)/$$f"; \
+       done
+install-aptvendors_list_dDATA: $(aptvendors_list_d_DATA)
+       @$(NORMAL_INSTALL)
+       test -z "$(aptvendors_list_ddir)" || $(mkdir_p) "$(DESTDIR)$(aptvendors_list_ddir)"
+       @list='$(aptvendors_list_d_DATA)'; for p in $$list; do \
+         if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+         f=$(am__strip_dir) \
+         echo " $(aptvendors_list_dDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(aptvendors_list_ddir)/$$f'"; \
+         $(aptvendors_list_dDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(aptvendors_list_ddir)/$$f"; \
+       done
+
+uninstall-aptvendors_list_dDATA:
+       @$(NORMAL_UNINSTALL)
+       @list='$(aptvendors_list_d_DATA)'; for p in $$list; do \
+         f=$(am__strip_dir) \
+         echo " rm -f '$(DESTDIR)$(aptvendors_list_ddir)/$$f'"; \
+         rm -f "$(DESTDIR)$(aptvendors_list_ddir)/$$f"; \
+       done
 
 # This directory's subdirectories are mostly independent; you can cd
 # into them and run `make' without going through this Makefile.
@@ -596,9 +821,12 @@ distcleancheck: distclean
               exit 1; } >&2
 check-am: all-am
 check: check-recursive
-all-am: Makefile
+all-am: Makefile $(SCRIPTS) $(DATA)
 installdirs: installdirs-recursive
 installdirs-am:
+       for dir in "$(DESTDIR)$(aptscriptsdir)" "$(DESTDIR)$(aptcachedir)" "$(DESTDIR)$(aptcache_archives_partialdir)" "$(DESTDIR)$(aptcache_genpkglistdir)" "$(DESTDIR)$(aptcache_gensrclistdir)" "$(DESTDIR)$(aptconf_ddir)" "$(DESTDIR)$(aptsources_list_ddir)" "$(DESTDIR)$(aptstatedir)" "$(DESTDIR)$(aptstate_lists_partialdir)" "$(DESTDIR)$(aptvendors_list_ddir)"; do \
+         test -z "$$dir" || $(mkdir_p) "$$dir"; \
+       done
 install: install-recursive
 install-exec: install-exec-recursive
 install-data: install-data-recursive
@@ -643,7 +871,13 @@ info: info-recursive
 
 info-am:
 
-install-data-am:
+install-data-am: install-aptcacheDATA \
+       install-aptcache_archives_partialDATA \
+       install-aptcache_genpkglistDATA \
+       install-aptcache_gensrclistDATA install-aptconf_dDATA \
+       install-aptscriptsSCRIPTS install-aptsources_list_dDATA \
+       install-aptstateDATA install-aptstate_lists_partialDATA \
+       install-aptvendors_list_dDATA
 
 install-exec-am:
 
@@ -671,7 +905,13 @@ ps: ps-recursive
 
 ps-am:
 
-uninstall-am: uninstall-info-am
+uninstall-am: uninstall-aptcacheDATA \
+       uninstall-aptcache_archives_partialDATA \
+       uninstall-aptcache_genpkglistDATA \
+       uninstall-aptcache_gensrclistDATA uninstall-aptconf_dDATA \
+       uninstall-aptscriptsSCRIPTS uninstall-aptsources_list_dDATA \
+       uninstall-aptstateDATA uninstall-aptstate_lists_partialDATA \
+       uninstall-aptvendors_list_dDATA uninstall-info-am
 
 uninstall-info: uninstall-info-recursive
 
@@ -682,13 +922,26 @@ uninstall-info: uninstall-info-recursive
        distclean-generic distclean-hdr distclean-libtool \
        distclean-recursive distclean-tags distcleancheck distdir \
        distuninstallcheck dvi dvi-am html html-am info info-am \
-       install install-am install-data install-data-am install-exec \
-       install-exec-am install-info install-info-am install-man \
-       install-strip installcheck installcheck-am installdirs \
-       installdirs-am maintainer-clean maintainer-clean-generic \
-       maintainer-clean-recursive mostlyclean mostlyclean-generic \
-       mostlyclean-libtool mostlyclean-recursive pdf pdf-am ps ps-am \
-       tags tags-recursive uninstall uninstall-am uninstall-info-am
+       install install-am install-aptcacheDATA \
+       install-aptcache_archives_partialDATA \
+       install-aptcache_genpkglistDATA \
+       install-aptcache_gensrclistDATA install-aptconf_dDATA \
+       install-aptscriptsSCRIPTS install-aptsources_list_dDATA \
+       install-aptstateDATA install-aptstate_lists_partialDATA \
+       install-aptvendors_list_dDATA install-data install-data-am \
+       install-exec install-exec-am install-info install-info-am \
+       install-man install-strip installcheck installcheck-am \
+       installdirs installdirs-am maintainer-clean \
+       maintainer-clean-generic maintainer-clean-recursive \
+       mostlyclean mostlyclean-generic mostlyclean-libtool \
+       mostlyclean-recursive pdf pdf-am ps ps-am tags tags-recursive \
+       uninstall uninstall-am uninstall-aptcacheDATA \
+       uninstall-aptcache_archives_partialDATA \
+       uninstall-aptcache_genpkglistDATA \
+       uninstall-aptcache_gensrclistDATA uninstall-aptconf_dDATA \
+       uninstall-aptscriptsSCRIPTS uninstall-aptsources_list_dDATA \
+       uninstall-aptstateDATA uninstall-aptstate_lists_partialDATA \
+       uninstall-aptvendors_list_dDATA uninstall-info-am
 
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
 # Otherwise a system limit (for SysV at least) may be exceeded.