Skip to content

Commit 0905d30

Browse files
committed
Remove dist target, tarballs are handled by Github
Signed-off-by: Alastair D'Silva <alastair@d-silva.org>
1 parent 9fb66dd commit 0905d30

File tree

2 files changed

+4
-11
lines changed

2 files changed

+4
-11
lines changed

Makefile

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ CHECK_OCXL_HEADER_IS_UP_TO_DATE = $(shell /bin/echo -e \\\#include \"$(1)\"\\\nv
2222
$(CC) $(CFLAGS) -Werror -x c -S -o /dev/null - > /dev/null 2>&1 && echo y || echo n)
2323

2424
check_ocxl_header:
25-
ifeq ($(call CHECK_OCXL_HEADER_IS_UP_TO_DATE,"kernel/include/misc/ocxl.h"),n)
25+
ifeq ($(call CHECK_OCXL_HEADER_IS_UP_TO_DATE,'<misc/ocxl.h>'),n)
2626
mkdir -p kernel/include/misc
2727
ifeq (${HAS_WGET},y)
2828
$(call Q,WGET kernel/include/misc/ocxl.h, wget -O kernel/include/misc/ocxl.h -q http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/plain/include/uapi/misc/ocxl.h)
@@ -86,7 +86,7 @@ docs:
8686
$(call Q,DOCS-HTML, doxygen Doxyfile-html,)
8787

8888
clean:
89-
rm -rf obj testobj sampleobj docs $(VERSION_DIR) $(VERSION_DIR).txz
89+
rm -rf obj testobj sampleobj docs
9090

9191
install: all docs
9292
mkdir -p $(DESTDIR)$(libdir)
@@ -101,9 +101,4 @@ install: all docs
101101
install -m 0644 -D docs/html/*.* $(DESTDIR)$(datadir)/libocxl
102102
install -m 0644 -D docs/html/search/* $(DESTDIR)$(datadir)/libocxl/search
103103

104-
dist:
105-
ln -s . $(VERSION_DIR)
106-
tar Jcf $(VERSION_DIR).txz --exclude $(VERSION_DIR)/packages --exclude $(VERSION_DIR)/.git --exclude $(VERSION_DIR)/$(VERSION_DIR) $(VERSION_DIR)/*
107-
rm $(VERSION_DIR)
108-
109-
.PHONY: clean all install docs precommit cppcheck cppcheck-xml dist check_ocxl_header
104+
.PHONY: clean all install docs precommit cppcheck cppcheck-xml check_ocxl_header

Makefile.vars

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,9 @@ MAKEFLAGS += -rR
55
# refer to file symver.map
66
VERSION_MAJOR = 1
77

8-
# Change VERSION_MINOR on every release
8+
# Change VERSION_MINOR on new features
99
VERSION_MINOR = 0
1010

11-
VERSION_DIR = libocxl-$(VERSION_MAJOR).$(VERSION_MINOR)
12-
1311
AR = $(CROSS_COMPILE)ar
1412
AS = $(CROSS_COMPILE)as
1513
LD = $(CROSS_COMPILE)ld

0 commit comments

Comments
 (0)