debian/rules.real: Fix link target in headers package.

svn path=/dists/trunk/linux-2.6/; revision=5912
This commit is contained in:
Bastian Blank 2006-02-17 15:09:31 +00:00
parent c792398b48
commit c259da6b2c
1 changed files with 1 additions and 1 deletions

2
debian/rules.real vendored
View File

@ -278,7 +278,7 @@ install-header-$(ARCH)-$(SUBARCH)-$(FLAVOUR): $(STAMPS_DIR)/build-$(ARCH)-$(SUBA
mkdir "${DIR}/include/$$dir"; \
for file in $$(find "include/$$dir" -mindepth 1 -maxdepth 1); do \
if [ -e ${CURDIR}/${REF_DIR}/$$file ]; then \
ln -s --target-directory="${DIR}/include/$$dir" "../../../${PACKAGE_NAME_HEADERS}/${REF_DIR}/$$file"; \
ln -s --target-directory="${DIR}/include/$$dir" "../../../${PACKAGE_NAME_HEADERS}/$$file"; \
elif [ -d ${CURDIR}/${SOURCE_DIR}/$$file ]; then \
cp -a "${CURDIR}/${SOURCE_DIR}/$$file" "${DIR}/include/$$dir"; \
else \