Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added prod tag to build production objects only #42

Merged
merged 8 commits into from
Dec 9, 2020
7 changes: 7 additions & 0 deletions Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ XMLSTOREDP_MODULES=xmlstoredp.module $(COMMON)

all: build

prod: build-main build-procedure build-cgi prod-clean

build: build-main build-procedure build-cgi build-test

build-main: $(LIBRARY).lib xmlmain.pgm xmlservice.pgm xmlver.pgm
Expand All @@ -56,6 +58,11 @@ build-cgi: $(LIBRARY).lib xmlcgi.pgm

build-test: $(TEST_PGMS) $(TEST_SRVPGMS)

prod-clean:
rm -f *.module *.srcpf
rm -rf /qsys.lib/$(LIBRARY).lib/*.FILE
rm -rf /qsys.lib/$(LIBRARY).lib/*.MODULE

clean:
rm -f *.lib *.pgm *.srvpgm *.module *.sqlinst *.srcpf
system -q 'DLTLIB $(LIBRARY)' || :
Expand Down