Skip to content

Commit

Permalink
Add example config in the Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
Antiz96 committed May 1, 2024
1 parent 3b9908f commit 9de8448
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,10 @@ install:
rm -f "doc/man/fr/${pkgname}.1.gz"
rm -f "doc/man/fr/${pkgname}.conf.5.gz"

# Install documentation
# Install documentation and examples
install -Dm 644 README.md "${DESTDIR}${PREFIX}/share/doc/${pkgname}/README.md"
install -Dm 644 README-fr.md "${DESTDIR}${PREFIX}/share/doc/${pkgname}/fr/README-fr.md"
install -Dm 644 README-fr.md "${DESTDIR}${PREFIX}/share/doc/${pkgname}/fr/README.md"
install -Dm 644 "res/config/${pkgname}.conf.example" "${DESTDIR}${PREFIX}/share/doc/${pkgname}/${pkgname}.conf.example"

uninstall:
# Delete the main script
Expand Down Expand Up @@ -82,7 +83,7 @@ uninstall:
rm -f "${DESTDIR}${PREFIX}/share/man/fr/man1/${pkgname}.1.gz"
rm -f "${DESTDIR}${PREFIX}/share/man/fr/man5/${pkgname}.conf.5.gz"

# Delete documentation
# Delete documentation and examples
rm -rf "${DESTDIR}${PREFIX}/share/doc/${pkgname}/"

test:
Expand Down

0 comments on commit 9de8448

Please sign in to comment.