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
This commit is contained in:
Oliver Smith 2023-03-16 12:40:48 +01:00
parent 2cef0dc72f
commit 33b5f5c889
1 changed files with 5 additions and 5 deletions

View File

@ -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