blob: 4d6d1a452d6dc0169ebb2f0566ef33a35ebb762c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# Copyright (C) 2015 Mattias Andrée <maandree@member.fsf.org>
#
# Copying and distribution of this file, with or without modification,
# are permitted in any medium without royalty provided the copyright
# notice and this notice are preserved. This file is offered as-is,
# without any warranty.
#=== These rules are used for cleaning the repository of generated files. ===#
# Delete all files are normally created during a build.
.PHONY: clean
clean:
@$(PRINTF_INFO) '\e[00;01;31mCLEANING\e[34m\e[00m\n'
-$(Q)$(RM) -r bin obj $(PKGNAME)-*.tar* $(PKGNAME)-*.checksums*
@$(ECHO)
# Delete all files that are created during configuration.
# Note, this, for some reason, should not imply `make clean`.
.PHONY: distclean
distclean:
# Like `make clean` but do not remove massive binaries
# that are seldom recompiled.
.PHONY: mostlyclean
mostlyclean: clean
# Delete everything except ./configure
.PHONY: maintainer-clean
maintainer-clean: clean distclean
@$(ECHO)
@$(ECHO) 'This command is intended for maintainers to use; it'
@$(ECHO) 'deletes files that may need special tools to rebuild.'
@$(ECHO)
|