Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Jul 2024 11:56:17 GMT
From:      Christos Margiolis <christos@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: cb00491fbc51 - main - sound examples: Organize files in directories
Message-ID:  <202407271156.46RBuH4x039607@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by christos:

URL: https://cgit.FreeBSD.org/src/commit/?id=cb00491fbc51751fe166056cc69e23beeb26fee4

commit cb00491fbc51751fe166056cc69e23beeb26fee4
Author:     Christos Margiolis <christos@FreeBSD.org>
AuthorDate: 2024-07-27 11:54:35 +0000
Commit:     Christos Margiolis <christos@FreeBSD.org>
CommitDate: 2024-07-27 11:54:35 +0000

    sound examples: Organize files in directories
    
    More examples will be added, so it's better to be organized.
    
    Sponsored by:   The FreeBSD Foundation
    MFC after:      2 days
    Reviewed by:    dev_submerge.ch, markj
    Differential Revision:  https://reviews.freebsd.org/D45968
---
 share/examples/Makefile                  | 11 +++++++----
 share/examples/sound/{ => oss}/README    |  0
 share/examples/sound/{ => oss}/basic.c   |  0
 share/examples/sound/{ => oss}/midi.c    |  0
 share/examples/sound/{ => oss}/ossinit.h |  0
 share/examples/sound/{ => oss}/ossmidi.h |  0
 6 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/share/examples/Makefile b/share/examples/Makefile
index 61e21f9350c1..8839075452af 100644
--- a/share/examples/Makefile
+++ b/share/examples/Makefile
@@ -314,12 +314,15 @@ SE_SCSI_TARGET= \
 	scsi_cmds.c
 
 SE_DIRS+=	sound
-SE_SOUND= \
+SE_SOUND=
+
+SE_DIRS+=	sound/oss
+SE_SOUND_OSS= \
+	README \
 	basic.c \
-	ossinit.h \
-	ossmidi.h \
 	midi.c \
-	README
+	ossinit.h \
+	ossmidi.h
 
 SE_DIRS+=	sunrpc
 SE_SUNRPC=	Makefile
diff --git a/share/examples/sound/README b/share/examples/sound/oss/README
similarity index 100%
rename from share/examples/sound/README
rename to share/examples/sound/oss/README
diff --git a/share/examples/sound/basic.c b/share/examples/sound/oss/basic.c
similarity index 100%
rename from share/examples/sound/basic.c
rename to share/examples/sound/oss/basic.c
diff --git a/share/examples/sound/midi.c b/share/examples/sound/oss/midi.c
similarity index 100%
rename from share/examples/sound/midi.c
rename to share/examples/sound/oss/midi.c
diff --git a/share/examples/sound/ossinit.h b/share/examples/sound/oss/ossinit.h
similarity index 100%
rename from share/examples/sound/ossinit.h
rename to share/examples/sound/oss/ossinit.h
diff --git a/share/examples/sound/ossmidi.h b/share/examples/sound/oss/ossmidi.h
similarity index 100%
rename from share/examples/sound/ossmidi.h
rename to share/examples/sound/oss/ossmidi.h



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202407271156.46RBuH4x039607>