Modified with install target to makefile and manpage.

This commit is contained in:
tobast 2013-02-06 19:56:48 +01:00
parent 37c8131ce1
commit e7dd66117c
2 changed files with 5 additions and 0 deletions

View File

@ -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

Binary file not shown.