summaryrefslogtreecommitdiffstats
path: root/apache/Makefile
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--apache/Makefile (renamed from Makefile)8
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile b/apache/Makefile
index 0e7140b..90758cf 100644
--- a/Makefile
+++ b/apache/Makefile
@@ -23,10 +23,10 @@ PROGRAM = apache-icons
all: build
-build: share/man/*.txt
+build: share/man/*.rst
$(MAKE) -C share/man
- sed -n '/^NAME/,$$p' share/man/$(SOFTWARE).7.txt > README.txt
+ sed -n '/^===/,$$p' share/man/$(SOFTWARE).7.rst > README.txt
for ICON in share/icons/*; \
do \
@@ -49,7 +49,7 @@ build: share/man/*.txt
install: build
mkdir -p $(DESTDIR)/usr/share/$(PROJECT)/$(PROGRAM)
- cp -r VERSION.txt $(DESTDIR)/usr/share/$(PROJECT)/$(PROGRAM)
+ cp -r ../VERSION.txt $(DESTDIR)/usr/share/$(PROJECT)/$(PROGRAM)
cp -r build/* $(DESTDIR)/usr/share/$(PROJECT)/$(PROGRAM)
for DIRECTORY in $(DESTDIR)/usr/share/$(PROJECT)/$(PROGRAM)/*-png; \
@@ -78,7 +78,7 @@ install: build
done
mkdir -p $(DESTDIR)/usr/share/doc/$(SOFTWARE)
- cp -r CHANGELOG.txt LICENSE.txt README.txt $(DESTDIR)/usr/share/doc/$(SOFTWARE)
+ cp -r ../CHANGELOG.txt ../LICENSE.txt README.txt $(DESTDIR)/usr/share/doc/$(SOFTWARE)
uninstall:
for SECTION in $$(seq 1 8); \