Skip to content

Commit

Permalink
remove obsolete rules
Browse files Browse the repository at this point in the history
  • Loading branch information
s-allius committed Dec 23, 2024
1 parent 97ff048 commit b16a8b5
Showing 1 changed file with 0 additions and 33 deletions.
33 changes: 0 additions & 33 deletions app/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,23 +7,6 @@ IMAGE = tsun-gen3-proxy

# Folders
SRC=.
SRC_PROXY=$(SRC)/src
CNF_PROXY=$(SRC)/config

DST=rootfs
DST_PROXY=$(DST)/home/proxy

# collect source files
SRC_FILES := $(wildcard $(SRC_PROXY)/*.py)\
$(wildcard $(SRC_PROXY)/*.ini)\
$(wildcard $(SRC_PROXY)/cnf/*.py)\
$(wildcard $(SRC_PROXY)/gen3/*.py)\
$(wildcard $(SRC_PROXY)/gen3plus/*.py)
CNF_FILES := $(wildcard $(CNF_PROXY)/*.toml)

# determine destination files
TARGET_FILES = $(SRC_FILES:$(SRC_PROXY)/%=$(DST_PROXY)/%)
CONFIG_FILES = $(CNF_FILES:$(CNF_PROXY)/%=$(DST_PROXY)/%)

export BUILD_DATE := ${shell date -Iminutes}
VERSION := $(shell cat $(SRC)/.version)
Expand All @@ -48,20 +31,4 @@ preview rc rel:
docker buildx bake -f docker-bake.hcl $@



.PHONY: debug dev preview rc rel


$(CONFIG_FILES): $(DST_PROXY)/% : $(CNF_PROXY)/%
@echo Copy $< to $@
@mkdir -p $(@D)
@cp $< $@

$(TARGET_FILES): $(DST_PROXY)/% : $(SRC_PROXY)/%
@echo Copy $< to $@
@mkdir -p $(@D)
@cp $< $@

$(DST)/requirements.txt : $(SRC)/requirements.txt
@echo Copy $< to $@
@cp $< $@

0 comments on commit b16a8b5

Please sign in to comment.