diff --git a/postprocess/packcomponents/makefile.mk b/postprocess/packcomponents/makefile.mk
index 6f02d10c0c5c..876302681568 100644
--- a/postprocess/packcomponents/makefile.mk
+++ b/postprocess/packcomponents/makefile.mk
@@ -365,8 +365,7 @@ $(MISC)/services.rdb .ERRREMOVE : $(SOLARENV)/bin/packcomponents.xslt \
$(XSLTPROC) --nonet --stringparam prefix $(SOLARXMLDIR)/ -o $@ \
$(SOLARENV)/bin/packcomponents.xslt $(MISC)/services.input
-$(MISC)/services.input .ERRREMOVE :
- - $(RM) $@
+$(MISC)/services.input :
echo \
'$(my_components:^"":+".component")
' \
> $@
@@ -377,8 +376,7 @@ $(MISC)/ooo-services.rdb .ERRREMOVE : $(SOLARENV)/bin/packcomponents.xslt \
$(XSLTPROC) --nonet --stringparam prefix $(SOLARXMLDIR)/ -o $@ \
$(SOLARENV)/bin/packcomponents.xslt $(MISC)/ooo-services.input
-$(MISC)/ooo-services.input .ERRREMOVE :
- - $(RM) $@
+$(MISC)/ooo-services.input :
echo '' \
'$(my_ooo_components:^"":+".component")' \
'
' > $@
diff --git a/postprocess/prj/d.lst b/postprocess/prj/d.lst
index 28c0a7e3fd9a..9bfe12b9ac8f 100644
--- a/postprocess/prj/d.lst
+++ b/postprocess/prj/d.lst
@@ -3,4 +3,5 @@ mkdir: %_DEST%\xml%_EXT%\ooo
..\%__SRC%\misc\*.xcd %_DEST%\xml%_EXT%\
..\%__SRC%\misc\lang\*.xcd %_DEST%\xml%_EXT%\
..\%__SRC%\misc\ooo-services.rdb %_DEST%\xml%_EXT%\ooo\services.rdb
+..\%__SRC%\misc\services.input %_DEST%\xml%_EXT%\services.input
..\%__SRC%\misc\services.rdb %_DEST%\xml%_EXT%\services.rdb