Skip to content

Commit

Permalink
pub/ -> public/
Browse files Browse the repository at this point in the history
  • Loading branch information
lukateras committed Jan 3, 2025
1 parent 4c4852f commit 3a08ea6
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- run: make all
- uses: actions/upload-pages-artifact@v3
with:
path: pub
path: public
- id: deployment
uses: actions/deploy-pages@v4
environment:
Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
/pub/
/public/
/nanoidgen
22 changes: 11 additions & 11 deletions GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,34 +2,34 @@ MANDOC ?= mandoc

default: nanoidgen

all: pub/man.pdf pub/man/nanoid.3.html pub/man/nanoidgen.1.html \
pub/openbsd/man.pdf pub/openbsd/man/nanoid.3.html nanoidgen
all: public/man.pdf public/man/nanoid.3.html public/man/nanoidgen.1.html \
public/openbsd/man.pdf public/openbsd/man/nanoid.3.html nanoidgen

clean:
rm -r pub nanoidgen
rm -r public nanoidgen

.PHONY: default all clean

pub:
public:
mkdir -p $@

pub/man: pub
public/man: public
mkdir -p $@

pub/man.pdf: nanoid.3 nanoidgen.1 pub
public/man.pdf: nanoid.3 nanoidgen.1 public
$(MANDOC) -T pdf nanoid.3 nanoidgen.1 > $@

pub/man/%.html: % pub/man
public/man/%.html: % public/man
$(MANDOC) -T html $< > $@

pub/openbsd: pub
public/openbsd: public
mkdir -p $@

pub/openbsd/man: pub/openbsd
public/openbsd/man: public/openbsd
mkdir -p $@

pub/openbsd/man.pdf: openbsd/nanoid.3 nanoidgen.1 pub/openbsd
public/openbsd/man.pdf: openbsd/nanoid.3 nanoidgen.1 public/openbsd
$(MANDOC) -T pdf openbsd/nanoid.3 nanoidgen.1 > $@

pub/openbsd/man/%.html: openbsd/% pub/openbsd/man
public/openbsd/man/%.html: openbsd/% public/openbsd/man
$(MANDOC) -T html $< > $@

0 comments on commit 3a08ea6

Please sign in to comment.