-// Includes the main section. You can structure the directory tree under
-// ./pool/main any way you like, apt-ftparchive will take any deb (and
-// source package) it can find. This creates a Packages a Sources and a
-// Contents file for these in the main section of the sid release
-BinDirectory "pool/@dist@" {
- Packages "dists/@dist@/main/binary-i386/Packages";
- Sources "dists/@dist@/main/source/Sources";
- Contents "dists/@dist@/Contents-i386";
-}
+TreeDefault {
+ Directory "pool/$(DIST)/$(SECTION)/$(ARCH)";
+ SrcDirectory "pool/$(DIST)/$(SECTION)/source";
+ Packages "$(DIST)/$(SECTION)/binary-$(ARCH)/Packages";
+ Sources "$(DIST)/$(SECTION)/source/Sources";
+ Contents "$(DIST)/Contents-$(ARCH)";
+};