1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 20:57:35 +00:00

Libraries: Unbreak "make install" with new directory locations.

This commit is contained in:
Andreas Kling 2019-07-04 16:41:42 +02:00
parent 04b9dc2d30
commit 8b0953a795
5 changed files with 21 additions and 21 deletions

View file

@ -13,9 +13,9 @@ $(LIBRARY): $(LIBHTML_OBJS)
@echo "LIB $@"; $(AR) rcs $@ $(LIBHTML_OBJS)
install: $(LIBRARY)
mkdir -p ../Root/usr/include/LibHTML
mkdir -p ../../Root/usr/include/LibHTML
# Copy headers
rsync -r -a --include '*/' --include '*.h' --exclude '*' . ../Root/usr/include/LibHTML
rsync -r -a --include '*/' --include '*.h' --exclude '*' . ../../Root/usr/include/LibHTML
# Install the library
cp $(LIBRARY) ../Root/usr/lib
cp $(LIBRARY) ../../Root/usr/lib