summaryrefslogtreecommitdiff
path: root/sysui
diff options
context:
space:
mode:
authorRĂ¼diger Timm <rt@openoffice.org>2005-08-30 07:50:02 +0000
committerRĂ¼diger Timm <rt@openoffice.org>2005-08-30 07:50:02 +0000
commitf371b79bfb15af19fc2b412f50249f3aae4ca722 (patch)
tree3788207d357a5aa2a40658160d46b73cd4c74169 /sysui
parente3c67dd223f4dcf86b7de6c2f9fe42aaceeee54c (diff)
INTEGRATION: CWS debsize (1.5.4); FILE MERGED
2005/08/25 08:10:04 obr 1.5.4.1: #i53477# add Installed-Size to control file
Diffstat (limited to 'sysui')
-rw-r--r--sysui/desktop/debian/makefile.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/sysui/desktop/debian/makefile.mk b/sysui/desktop/debian/makefile.mk
index 872ef73d00..bd065af06c 100644
--- a/sysui/desktop/debian/makefile.mk
+++ b/sysui/desktop/debian/makefile.mk
@@ -275,6 +275,7 @@ $(MISC)/$(TARGET)/$(DEBFILE:f)/etc/$(UNIXFILENAME) :
@$(MKDIRHIER) $(MISC)/$(TARGET)/$(DEBFILE:f)/DEBIAN
@cat control | tr -d "\015" > $(MISC)/$(TARGET)/$(DEBFILE:f)/DEBIAN/control
@echo "Version: $(PKGVERSION)-$(PKGREV)" >> $(MISC)/$(TARGET)/$(DEBFILE:f)/DEBIAN/control
+ @du -k -s $(MISC)/$(TARGET)/$(DEBFILE:f) | awk -F ' ' '{ printf "Installed-Size: %s\n", $$1 ; }' >> $(MISC)/$(TARGET)/$(DEBFILE:f)/DEBIAN/control
@cat postinst | tr -d "\015" | sed -e "s/%PREFIX/$(UNIXFILENAME)/g" > $(MISC)/$(TARGET)/$(DEBFILE:f)/DEBIAN/postinst
@cat postrm | tr -d "\015" | sed -e "s/%PREFIX/$(UNIXFILENAME)/g" > $(MISC)/$(TARGET)/$(DEBFILE:f)/DEBIAN/postrm
@cat prerm | tr -d "\015" | sed -e "s/%PREFIX/$(UNIXFILENAME)/g" > $(MISC)/$(TARGET)/$(DEBFILE:f)/DEBIAN/prerm