aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorXavier Del Campo Romero <xavi.dcr@tutanota.com>2023-10-10 23:21:35 +0200
committerXavier Del Campo Romero <xavi.dcr@tutanota.com>2023-10-11 00:07:13 +0200
commit0222b75e8554796548e079aa3393c512ae30ac24 (patch)
tree5a154258ae5c1434a211ee67537e46ef64058437 /Makefile
parent832e198f8c77970b5b923eb18201ba83d9c72b80 (diff)
downloadlibweb-0222b75e8554796548e079aa3393c512ae30ac24.tar.gz
Rename project from slweb to libwebv0.1.0-rc3
It was found out there was another project of the same name around (https://git.sr.ht/~strahinja/slweb/), also related to website generation. In order to avoid confusion, a new name has been chosen for this project. Surprisingly, libweb was not in use by any distributions (according to https://repology.org and AUR index), and it should reflect well the intention behind this project i.e., being a library to build web-related stuff.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 246efdf..ceb27f6 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
.POSIX:
-PROJECT = libslweb.a
+PROJECT = libweb.a
PREFIX = /usr/local
DST = $(PREFIX)/lib
PC_DST = $(DST)/pkgconfig
@@ -17,10 +17,10 @@ OBJECTS = \
all: $(PROJECT)
-install: all $(PC_DST)/slweb.pc
+install: all $(PC_DST)/libweb.pc
mkdir -p $(PREFIX)/include
- cp -R include/slweb $(PREFIX)/include
- chmod 0644 $(PREFIX)/include/slweb/*.h
+ cp -R include/libweb $(PREFIX)/include
+ chmod 0644 $(PREFIX)/include/libweb/*.h
mkdir -p $(DST)
cp $(PROJECT) $(DST)
chmod 0755 $(DST)/$(PROJECT)
@@ -38,7 +38,7 @@ examples: FORCE
$(PROJECT): $(OBJECTS)
$(AR) $(ARFLAGS) $@ $(OBJECTS)
-$(PC_DST)/slweb.pc: slweb.pc
+$(PC_DST)/libweb.pc: libweb.pc
mkdir -p $(PC_DST)
sed -e 's,/usr/local,$(PREFIX),' $< > $@
chmod 0644 $@