]> git.saurik.com Git - apt.git/commitdiff
Make improvements
authorArch Librarian <arch@canonical.com>
Mon, 20 Sep 2004 16:51:39 +0000 (16:51 +0000)
committerArch Librarian <arch@canonical.com>
Mon, 20 Sep 2004 16:51:39 +0000 (16:51 +0000)
Author: jgg
Date: 1998-11-23 23:17:45 GMT
Make improvements

Makefile
buildlib/copy.mak [new file with mode: 0644]
buildlib/defaults.mak
buildlib/makefile.in
doc/examples/apt.conf
doc/makefile
dselect/makefile [new file with mode: 0644]

index 1db7bfd07f1b76879b2c336f2844a13d568bc689..ceac33ac21b55b6680aa4c74c0fde8fa9afade0e 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -25,6 +25,7 @@ maintainer-clean dist-clean distclean pristine sanity: veryclean
 # The startup target builds the necessary configure scripts. It should
 # be used after a CVS checkout.
 CONVERTED=environment.mak include/config.h makefile
+include buildlib/configure.mak
 $(BUILDDIR)/include/config.h: buildlib/config.h.in
 $(BUILDDIR)/environment.mak: buildlib/environment.mak.in
-include buildlib/configure.mak
+$(BUILDDIR)/makefile: buildlib/makefile.in
diff --git a/buildlib/copy.mak b/buildlib/copy.mak
new file mode 100644 (file)
index 0000000..973c485
--- /dev/null
@@ -0,0 +1,27 @@
+# -*- make -*-
+
+# This installs arbitary files into a directory
+
+# Input
+# $(SOURCE) - The documents to use
+# $(TO)     - The directory to put them in
+# All output is writtin to files in the build/$(TO) directory
+
+# See defaults.mak for information about LOCAL
+
+# Some local definitions
+LOCAL := copy-$(firstword $(SOURCE))
+$(LOCAL)-LIST := $(addprefix $(TO)/,$(SOURCE))
+
+# Install generation hooks
+doc: $($(LOCAL)-LIST)
+veryclean: veryclean/$(LOCAL)
+
+$($(LOCAL)-LIST) : $(TO)/% : %
+       echo Installing $< to $(@D)
+       cp $< $(@D)
+
+# Clean rule
+.PHONY: veryclean/$(LOCAL)
+veryclean/$(LOCAL):
+       -rm -rf $($(@F)-LIST)
index 549be5385169ad51a4eaeb668c0661752a3f608d..f03236018da5a3f49fdb8ae4c1bc3727becf3829 100644 (file)
@@ -62,6 +62,7 @@ LIBRARY_H = $(BASE)/buildlib/library.mak
 DEBIANDOC_H = $(BASE)/buildlib/debiandoc.mak
 MANPAGE_H = $(BASE)/buildlib/manpage.mak
 PROGRAM_H = $(BASE)/buildlib/program.mak
+COPY_H = $(BASE)/buildlib/copy.mak
 
 # Source location control
 # SUBDIRS specifies sub components of the module that
index cf808643b935e0bf50097bf097439912408c6702..63097b9899c9719cd6659b571097a9bd9d50b4bf 100644 (file)
@@ -7,9 +7,9 @@ ifndef NOISY
 endif
 
 SRCDIR=@top_srcdir@
-SUBDIRS:=./docs ./bin ./bin/methods ./obj ./include/apt-pkg ./include/deity
-SUBDIRS+=./obj/apt-pkg ./obj/deity ./obj/gui ./obj/cmdline \
-       ./obj/test ./obj/methods ./obj/methods/ftp
+SUBDIRS:=./docs ./docs/examples ./bin ./bin/methods ./obj ./include/apt-pkg \
+         ./include/deity ./obj/apt-pkg ./obj/deity ./obj/gui ./obj/cmdline \
+         ./obj/test ./obj/methods ./obj/methods/ftp ./dselect
 BUILD:=$(shell pwd)
 export BUILD
 
index e89140d47dbc6f68dd204b518d621d3ce2fa811b..9403c424a839d070ae1dbd45bdc732a9d5fb8a31 100644 (file)
@@ -1,4 +1,4 @@
-// $Id: apt.conf,v 1.14 1998/11/23 01:46:01 jgg Exp $
+// $Id: apt.conf,v 1.15 1998/11/23 23:17:49 jgg Exp $
 /* This file is an index of all APT configuration directives. It should
    NOT actually be used as a real config file, though it is a completely
    valid file.
@@ -38,11 +38,12 @@ Acquire
 {
   Queue-Mode "host";       // host|access
   
-/*  http 
+  // HTTP method configuration
+  http 
   {
     Proxy "http://127.0.0.1:3128";
-    Proxy::http.us.debian.org "DIRECT";  // Specific per-host setting 
-  };*/
+    Proxy::http.us.debian.org "DIRECT";  // Specific per-host setting
+  };
 };
 
 // Directory layout
@@ -80,6 +81,7 @@ Dir
   };
 };
 
+// Things that effect the APT dselect method
 DSelect {
    Clean "auto";
    Options "-f";
@@ -96,4 +98,5 @@ Debug {
   pkgDPkgPM "false";
   
   pkgInitialize "false";   // This one will dump the configuration space
+  NoLocking "false";   
 }
index 037c8a2e19f2153d0494912ef5f06e051f37fcf1..46739eff27dd2187c4e759e89479be53ff20fe4b 100644 (file)
@@ -13,3 +13,8 @@ include $(DEBIANDOC_H)
 # Man pages
 SOURCE = apt-cache.8 apt-get.8 apt.8 sources.list.5
 include $(MANPAGE_H)
+
+# Examples
+SOURCE = examples/apt.conf examples/sources.list
+TO = $(DOC)
+include $(COPY_H)
diff --git a/dselect/makefile b/dselect/makefile
new file mode 100644 (file)
index 0000000..293b31b
--- /dev/null
@@ -0,0 +1,12 @@
+# -*- make -*-
+BASE=..
+SUBDIR=dselect
+
+# Bring in the default rules
+include ../buildlib/defaults.mak
+
+# DSelect interfacing directory
+SOURCE = desc.apt install names setup update
+TO = $(BUILD)/dselect
+include $(COPY_H)
+