summaryrefslogtreecommitdiffhomepage
path: root/project
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2020-05-02 02:42:26 +0000
committermidipix <writeonce@midipix.org>2020-05-02 03:14:58 +0000
commit7fdb9d96cb9467c34a4792ea4ed4fa1ffef9c9e5 (patch)
tree9b791353a669acf9246661904900c58224f4272f /project
parent3bc5381c9ae3a0fe474b150ba0d5bf2625e969b3 (diff)
downloadmmglue-7fdb9d96cb9467c34a4792ea4ed4fa1ffef9c9e5.tar.bz2
mmglue-7fdb9d96cb9467c34a4792ea4ed4fa1ffef9c9e5.tar.xz
project: headers.mk: fix ordering of install targets.
Diffstat (limited to 'project')
-rw-r--r--project/headers.mk12
1 files changed, 6 insertions, 6 deletions
diff --git a/project/headers.mk b/project/headers.mk
index 20054d5..77f7cf1 100644
--- a/project/headers.mk
+++ b/project/headers.mk
@@ -94,12 +94,6 @@ $(DESTDIR)$(INCLUDEDIR)/%.h: $(SOURCE_DIR)/include/%.h
chmod 0644 $@.tmp
mv $@.tmp $@
-install-arch-headers: headers.tag $(ARCH_GEN_H) $(src_bits_h) $(dst_bits_h)
-
-install-libc-headers: headers.tag $(dst_header_dirs) $(dst_c_headers)
-
-install-headers: install-arch-headers install-libc-headers
-
# build/include
build/headers.tag: | build/include/bits/
@@ -117,6 +111,12 @@ headers.tag: build/headers.tag $(ARCH_GEN_H)
mv build/include/bits/ioctl.h.tmp build/include/bits/ioctl.h
touch $@
+install-arch-headers: headers.tag $(ARCH_GEN_H) $(src_bits_h) $(dst_bits_h)
+
+install-libc-headers: headers.tag $(dst_header_dirs) $(dst_c_headers)
+
+install-headers: install-arch-headers install-libc-headers
+
clean-headers:
rm -f $(ARCH_GEN_H)
rm -f $(src_bits_h)