From 8174a918ea3b7cb216bf7ea98cfdc10661b5c37d Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Wed, 6 May 2020 16:56:32 +0200 Subject: make the whole project more python idiomatic * rename src directory to allocbench * make global variable names UPPERCASE * format a lot of code using yapf * use lowercase ld_preload and ld_library_path as Allocator members * name expected Errors 'err' and don't raise a new Exception * disable some pylint messages --- src/benchmarks/httpd/Makefile | 36 ------------------------------------ 1 file changed, 36 deletions(-) delete mode 100644 src/benchmarks/httpd/Makefile (limited to 'src/benchmarks/httpd/Makefile') diff --git a/src/benchmarks/httpd/Makefile b/src/benchmarks/httpd/Makefile deleted file mode 100644 index dff3efe..0000000 --- a/src/benchmarks/httpd/Makefile +++ /dev/null @@ -1,36 +0,0 @@ -OBJDIR ?= obj - -.PHONY = all clean - -all: $(OBJDIR)/html $(OBJDIR)/php $(OBJDIR)/etc/nginx $(OBJDIR)/etc/php $(OBJDIR)/logs $(OBJDIR)/run - -$(OBJDIR)/html: html | $(OBJDIR) - cp -r html $(OBJDIR)/html - -$(OBJDIR)/php: php | $(OBJDIR) - cp -r php $(OBJDIR)/php - -$(OBJDIR)/logs: | $(OBJDIR) - mkdir -p $@ - -$(OBJDIR)/run: | $(OBJDIR) - mkdir -p $@ - -$(OBJDIR)/etc/nginx: etc/nginx/nginx.conf | $(OBJDIR)/etc - mkdir -p $@ - sed "s|OBJDIR|$(OBJDIR)|" $< > $@/nginx.conf - -$(OBJDIR)/etc/php: etc/php/php.ini etc/php/php-fpm.conf etc/php/php-fpm.d/www.conf | $(OBJDIR) - mkdir -p $@/php-fpm.d/ - sed "s|OBJDIR|$(OBJDIR)|" etc/php/php.ini > $@/php.ini - sed "s|OBJDIR|$(OBJDIR)|" etc/php/php-fpm.conf > $@/php-fpm.conf - sed "s|OBJDIR|$(OBJDIR)|" etc/php/php-fpm.d/www.conf > $@/php-fpm.d/www.conf - -$(OBJDIR): - mkdir -p $@ - -$(OBJDIR)/etc: - mkdir -p $@ - -clean: - rm -rf $(OBJDIR) -- cgit v1.2.3