Skip to content

Commit

Permalink
makefile: point to local dir docs
Browse files Browse the repository at this point in the history
  • Loading branch information
streambinder committed Aug 19, 2023
1 parent d5dd0c9 commit b45643f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 10 deletions.
3 changes: 0 additions & 3 deletions .gitmodules

This file was deleted.

9 changes: 3 additions & 6 deletions Makefile
Expand Up @@ -145,13 +145,10 @@ install-common: all
install -m644 src/vpnc@.service -t $(DESTDIR)$(SYSTEMDDIR)
install -m644 LICENSE $(DESTDIR)$(LICENSEDIR)

src/doc:
git submodule update --init src/doc

install-doc: src/doc
install-doc:
install -d $(DESTDIR)$(DOCDIR)
install -m644 src/doc/*.md $(DESTDIR)$(DOCDIR)
rm -f $(DESTDIR)$(DOCDIR)/Home.md
install -m644 docs/*.md $(DESTDIR)$(DOCDIR)
rm -f $(DESTDIR)$(DOCDIR)/README.md

install: install-common install-doc
install -m755 $(BUILDDIR)/vpnc $(DESTDIR)$(SBINDIR)
Expand Down
1 change: 0 additions & 1 deletion src/doc
Submodule doc deleted from 9dcc46

0 comments on commit b45643f

Please sign in to comment.