Skip to contentSkip to conversation

dmapi: fix include/ symlink creation (again)

PATCH In review Eric Sandeen 2 participants 3 messages Jan 8, 2009

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 dmapi: fix include/ symlink creation (again)

We need the "default" target first, otherwise a simple "make -C include" only ran the xfs target, missing disk, and failures ensued.

---

include/Makefile +2 -2
index 8e092d2..b8d75c7 100644
@@ -9,11 +9,11 @@ HFILES = dmapi.h
 LSRCFILES = builddefs.in buildmacros buildrules dmapi_kern.h
 LDIRT = xfs
 
+default install: xfs
+
 xfs:
 	$(LN_S) . $@
 
-default install: xfs
-
 include $(BUILDRULES)
 
 install-dev: default

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs

#2 lore raw
Quoted 7 lines · Christoph Hellwig
Quoted 4 lines · Eric Sandeen

We need the "default" target first, otherwise a simple "make -C include" only ran the xfs target, missing disk, and failures ensued.

Looks good.

Actually, we only needs it for xfsprogs and acl strictly speaking, but I think fixing up the others to looks similar is reasonable.

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs