Skip to content

Commit

Permalink
updated
Browse files Browse the repository at this point in the history
  • Loading branch information
tkdeng committed Sep 12, 2024
1 parent 67eb25e commit ba7cdbf
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
install all:
build all:
go mod tidy
go build -C ./exec -o ../htmlc

install:
make dependencies
make build
sudo cp ./htmlc /usr/bin/htmlc
Expand All @@ -11,10 +15,6 @@ dev:
make build
sudo cp ./htmlc /usr/bin/htmlc

build:
go mod tidy
go build -C ./exec -o ../htmlc

deps dependencies:
ifeq (,$(wildcard $(/usr/bin/dnf)))
sudo dnf install pcre-devel
Expand Down
6 changes: 3 additions & 3 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@ go get github.com/tkdeng/htmlc
# or install the binary
git clone https://github.com/tkdeng/htmlc.git &&\
cd htmlc &&\
make &&\
make install &&\
cd ../ && rm -r htmlc

# install into /usr/bin (default)
# install into /usr/bin
make install

# install locally
# install locally (with dependencies)
make local

# build without dependency installation
Expand Down

0 comments on commit ba7cdbf

Please sign in to comment.