head 1.1; access; symbols pkgsrc-2026Q1:1.1.0.12 pkgsrc-2026Q1-base:1.1 pkgsrc-2025Q4:1.1.0.10 pkgsrc-2025Q4-base:1.1 pkgsrc-2025Q3:1.1.0.8 pkgsrc-2025Q3-base:1.1 pkgsrc-2025Q2:1.1.0.6 pkgsrc-2025Q2-base:1.1 pkgsrc-2025Q1:1.1.0.4 pkgsrc-2025Q1-base:1.1 pkgsrc-2024Q4:1.1.0.2 pkgsrc-2024Q4-base:1.1; locks; strict; comment @# @; 1.1 date 2024.12.08.13.09.43; author vins; state Exp; branches; next ; commitid 1D1B5UfgB9NjpHAF; desc @@ 1.1 log @wm/emwm: few enhancements * Switch to a unified makefile, replacing per-platform makefiles. * Standardise build environment. * Add emwmrc(4) man page. * Include sample gtk 2/3 configuration and Xresources files. * Include project's additional pixmaps. * Remove MESSAGE and install system-wide configuration at the right location. Revision bumped. @ text @$NetBSD$ Prefer pkgsrc Makefile. --- Makefile.orig 2024-12-08 10:46:59.443489899 +0000 +++ Makefile @@@@ -2,7 +2,10 @@@@ all: @@if [ -e src/Makefile ]; then \ $(MAKE) -C src $(MAKEFLAGS); \ else \ - if [ -e mf/Makefile.$$(uname) ]; then \ + if [ -e mf/Makefile.pkgsrc ]; then \ + ln -s ../mf/Makefile.pkgsrc src/Makefile && \ + $(MAKE) -C src $(MAKEFLAGS); \ + elif [ -e mf/Makefile.$$(uname) ]; then \ ln -s ../mf/Makefile.$$(uname) src/Makefile && \ $(MAKE) -C src $(MAKEFLAGS); \ else \ @