Modified with install target to makefile and manpage.
This commit is contained in:
parent
37c8131ce1
commit
e7dd66117c
2 changed files with 5 additions and 0 deletions
5
Makefile
5
Makefile
|
@ -6,6 +6,7 @@ CXX=g++
|
|||
CXXFLAGS=-Wall -Werror -O2
|
||||
CXXLIBS=-lcurl
|
||||
TARGET=pastebincl
|
||||
MANPAGE=pastebincl.1.gz
|
||||
OBJS=CurlPost.o func.o main.o ParameterRead.o ConfigRead.o
|
||||
|
||||
all: inputdevcode checkdevcode $(TARGET)
|
||||
|
@ -33,6 +34,10 @@ ConfigRead.o: ConfigRead.cpp
|
|||
%.o: %.cpp
|
||||
$(CXX) $(CXXLIBS) -c $< $(CXXFLAGS) -o $@
|
||||
|
||||
install:
|
||||
cp $(TARGET) /usr/bin
|
||||
cp $(MANPAGE) /usr/share/man/man1/
|
||||
|
||||
|
||||
.PHONY: clean
|
||||
|
||||
|
|
BIN
pastebincl.1.gz
Normal file
BIN
pastebincl.1.gz
Normal file
Binary file not shown.
Loading…
Reference in a new issue