From 33b5f5c8894f09b3e2b5e98d3411dc5ebc919437 Mon Sep 17 00:00:00 2001 From: Oliver Smith Date: Thu, 16 Mar 2023 12:40:48 +0100 Subject: [PATCH] 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 --- build/Makefile.common.inc | 10 +++++----- 1 file 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