aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOliver Smith <osmith@sysmocom.de>2023-03-16 12:40:48 +0100
committerOliver Smith <osmith@sysmocom.de>2023-03-17 12:41:58 +0100
commit33b5f5c8894f09b3e2b5e98d3411dc5ebc919437 (patch)
treef6df1bd6ea142421fca873031d38144660fc1a7a
parent2cef0dc72f7b26d642169c9d626dac314cf17c88 (diff)
build/Makefile.common: move clean/distclean down
Group upload and publish closer together by moving the clean targets to the bottom. Related: SYS#6380 Change-Id: Id8b6ead89a2aeba28e9c55bcfde6564376e8418a
-rw-r--r--build/Makefile.common.inc10
1 files changed, 5 insertions, 5 deletions
diff --git a/build/Makefile.common.inc b/build/Makefile.common.inc
index a53e26e..bdc3817 100644
--- a/build/Makefile.common.inc
+++ b/build/Makefile.common.inc
@@ -24,11 +24,6 @@ $(SYMLINKS):
upload: $(UPLOAD_FILES)
rsync -avz $(UPLOAD_FILES) $(UPLOAD_PATH)/
-clean:
- -rm -rf $(CLEAN_FILES)
-
-distclean: clean
-
# Publish to https://ftp.osmocom.org/docs/
publish: $(UPLOAD_FILES)
[ -n "$(OSMO_REPOSITORY)" ] || exit 1
@@ -64,3 +59,8 @@ uninstall:
rm -v "$(DESTDIR)$(prefix)/share/doc/$(OSMO_REPOSITORY)-doc/$$i"; \
done; \
fi
+
+clean:
+ -rm -rf $(CLEAN_FILES)
+
+distclean: clean