This is the personal HP of Georg Hopp aka Steffers. Yes I know... nobody make personal HPs in the times of social networks. Well, I do!
web
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

28 lines
534 B

BIN_DIR = data/bin
DOCROOT_DIR = data/document-root
LIB_DIR = data/lib64
LIBS = $(LIB_DIR)/ld-linux-x86-64.so.2 \
$(LIB_DIR)/libc.so.6 \
$(LIB_DIR)/libpthread.so.0
EXE = $(BIN_DIR)/$(APP_NAME)
.PHONY: all clean react
all: $(LIBS) $(EXE) react Dockerfile
docker build -t $(DOCKER_IMAGE_TAG) .
$(LIBS):
install -D /lib64/$(notdir $@) $@
$(EXE):
install -D $(GOEXE) $@
react:
install -d ${DOCROOT_DIR}
rsync -vaurl --delete ../react/build/ ${DOCROOT_DIR}
clean:
docker rmi -f $(DOCKER_IMAGE_TAG)
rm -Rf data