diff options
author | Wichert Akkerman <wakkerma@debian.org> | 2000-04-17 07:40:13 +0000 |
---|---|---|
committer | Wichert Akkerman <wakkerma@debian.org> | 2000-04-17 07:40:13 +0000 |
commit | 018ae78e49533e0223acdb651657b2c2926f5869 (patch) | |
tree | ce24effd011ce3836584baf384d371b275052a50 /debian/rules | |
parent | ff8ff1cdf269c4ddb20dc11697ef3145b310d22f (diff) | |
download | dpkg-018ae78e49533e0223acdb651657b2c2926f5869.tar.gz |
* TODO: updated
* debian/rules: explicitly strip the setgid bit for debian/tmp-*.
This is needed since the kernel copies it when we create subdirs
and install doesn't strip it even though we explicitly ask for
a mode 755 directory. Updated clean target to run make distclean
to remove generated sourcefiles as well.
* dpkg-deb/build.c: add comments to describe what we are doing.
Add code to get a list of files to be added to the archive, reorder
it and feed it to tar and use this to put symlinks after all other
files.
* scripts/dpkg-gencontrol.pl: add dpkg:Version and dpkg:UpstreamVersion
to list of substvars
Diffstat (limited to 'debian/rules')
-rwxr-xr-x | debian/rules | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules index 413b96300..22a144dd0 100755 --- a/debian/rules +++ b/debian/rules @@ -37,6 +37,7 @@ $(BUILD)/config.status: clean: $(checkdir) + $(MAKE) $(MFLAGS) -C $(BUILD) distclean rm -f debian/files debian/substvars rm -f debian/dpkg.substvars rm -fr $(BUILD) $(TMP) $(TMP_DPKG) $(TMP_DPKG_DEV) $(TMP_DPKG_DOC) @@ -69,6 +70,8 @@ stamp-binary: stamp-build binary-dpkg: stamp-binary rm -rf $(TMP_DPKG) + install -d -m 755 -o root -g root $(TMP_DPKG) + chmod g-s $(TMP_DPKG) install -d -m 755 -o root -g root $(TMP_DPKG)/usr/share/doc/dpkg install -d -m 755 -o root -g root $(TMP_DPKG)/usr/lib/dpkg install -d -m 755 -o root -g root $(TMP_DPKG)/usr/bin @@ -130,6 +133,8 @@ binary-dpkg: stamp-binary binary-dpkg-dev: stamp-binary rm -rf $(TMP_DPKG_DEV) + install -d -m 755 -o root -g root $(TMP_DPKG_DEV) + chmod g-s $(TMP_DPKG_DEV) install -d -m 755 -o root -g root $(TMP_DPKG_DEV)/usr/lib/dpkg install -d -m 755 -o root -g root $(TMP_DPKG_DEV)/usr/share install -d -m 755 -o root -g root $(TMP_DPKG_DEV)/usr/bin @@ -186,6 +191,8 @@ binary-dpkg-dev: stamp-binary binary-dpkg-doc: stamp-binary rm -rf $(TMP_DPKG_DOC) + install -d -m 755 -o root -g root $(TMP_DPKG_DOC) + chmod g-s $(TMP_DPKG_DOC) install -d -m 755 -o root -g root $(TMP_DPKG_DOC)/usr/share/doc/dpkg mv $(TMP)/usr/share/doc/dpkg/internals $(TMP_DPKG_DOC)/usr/share/doc/dpkg/ mv $(TMP)/usr/share/doc/dpkg/ChangeLog.manuals \ |