mirror of
https://github.com/chris2511/xca.git
synced 2026-09-13 18:46:25 +05:00
30 lines
552 B
Makefile
30 lines
552 B
Makefile
ifeq ($(TOPDIR),)
|
|
TOPDIR=..
|
|
endif
|
|
|
|
DELFILES=xca*.html xca.1.gz
|
|
|
|
doc: xca.1.gz xca.html
|
|
include $(TOPDIR)/Rules.mak
|
|
|
|
mandir=man
|
|
|
|
xca.1.gz: xca.1
|
|
gzip -9 <$^ >$@
|
|
|
|
xca.html: xca.sgml
|
|
echo '<h1>No documentation generated</h1>' > $@
|
|
$(LINUXDOC) -B html $<
|
|
|
|
install: xca.1.gz xca.html
|
|
install -m 755 -d $(destdir)$(docdir) \
|
|
$(destdir)$(prefix)/$(mandir)/man1
|
|
install -m 644 xca*.html $(destdir)$(docdir)
|
|
install xca.1.gz $(destdir)$(prefix)/$(mandir)/man1
|
|
|
|
app: xca.html
|
|
mkdir -p $(APPDIR)/Resources
|
|
install -m 644 xca*.html $(APPDIR)/Resources
|
|
|
|
|